Match a regular expression against the object passed in using the specified regular expression
library, pre-defined library names can be found in: RegExpFactory.
grep
through a file, line by line, and determine what matches there are to the nominated
regular expression using the specified regular expression implementation.