Now StringEx can treat '(' and ')' as plain text when has backslash before. But still does not work with regex which contains sub regex constructs.
Example:
+ If regex = "\\(aaa", getAllRegexConstructs() will return an empty array.
+ If regex = "\\(aaa\\) bbb (\\d)", getAllRegexConstructs() will return an array which contains only "\\d".
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment