This class can be used to build regular expressions programmatically.
It provides clearly named functions to add each part of a regular expression, such as matching the beginning or end of the text, match a range of characters, match any text, match a portion of text multiple times, capture a portion of the text, etc..
The resulting regular expression can be applied on a given text string to match.
- Added replaceWith, replaceWithCallback, split and grep methods
- Fixed bug on characters escape
- Added 6 more tests
- Fixed bug on conditions using PRECEEDED_BY and NOT_PRECEEDED_BY
- Added 2 more tests
- first release
Prize: One year subscription to the PDF edition of the JSMag magazine
|Regular expressions are often used to match text expressions that follow an expected syntax.
However, the syntax of regular expressions is not very trivial to most developers.
This class provides a very developer friendly way to build regular expressions.
||Not yet rated by the users
||Applications that use this class
No application links were specified for this class.
If you know an application of this package, send a message to the author
to add a link here.