-
Notifications
You must be signed in to change notification settings - Fork 2
List of methods to implement
Patrice Ferlet edited this page Aug 8, 2013
·
11 revisions
This methods should be implemented:
append a transformed value to internal expression that will be compiled
append "^" at start of expression
append "$" at end of expression
"(?:" + value + ")"
see "find" method
0 or N times
"(?:" + value + ")?"
Matches everything
(?:.*)
Matches everything excepting letter in given value
"(?:[^" + value + "]*)"
Matches at least one char
(?:.+)
Matches at least one char not in value
"(?:[^" + value + "]+)"
Return replaced string
Matches any linebreak
"(?:(?:\n)|(?:\r\n))"
see lineBreak
Should match tab char
"\t"
Matches at least one word
"\w+"
Matches any char in value
"(?:[" + value + "])"
see AnyOf
To be discuss
Append modifier "i"
to be discuss
If true, remove modifier "m"
to be discuss
Split expression with "|", to be discuss
Initiate capture
Stop capturing elements