Regular Expression Syntax
Posted: 5 Oct 2015 19:11
Is there a reference for the syntax used in the VIP regex match and search predicates? Several different "flavors" of regex exist and I'm having trouble using a few of the common expressions.
For example,
Suppose that I want to search the string "_x1239999" for "_x12".
Using the regular expression "_x\d\d" will match the substring "_x12" when I use the IDE search/replace dialog to test a regex search in my source code.
Some regex syntaxes permit using "_x\d{1,2}" to match the substrings "_x1" and "_x12", but the IDE Search dialog indicates "No match" under the Find field. Is there an equivalent syntax using the VIP regex search?
For example,
Suppose that I want to search the string "_x1239999" for "_x12".
Using the regular expression "_x\d\d" will match the substring "_x12" when I use the IDE search/replace dialog to test a regex search in my source code.
Some regex syntaxes permit using "_x\d{1,2}" to match the substrings "_x1" and "_x12", but the IDE Search dialog indicates "No match" under the Find field. Is there an equivalent syntax using the VIP regex search?