-
Story
-
Resolution: Done
-
Major
-
2.0.0.Beta4
-
None
-
None
This probably means we should create a new rule addon for plain files (or repurpose the XML file rules addon to be generic to "Files" of various types.
FileContent.matches("Some\\s+Pattern.*Of\\s+Words").inFilesNamed("\\.*.html")
This should probably register patterns of interest (similar to the Java TypeInterestFactory) and then run these against files during a parsing phase (I think we probably want to introduce a parsing phase when all parse events actually run on a file at the same time (probably in a Scanner or something equivalent.)) It's too bad that the Java Regex API doesn't support streaming --> One option is: https://code.google.com/p/streamflyer/