VBScript RegEx Lib compared to TextCrawler?
Posted: Tue Apr 28, 2009 3:35 am
Hello DV Support:
Thank you for TextCrawler.
1. TextCrawler's instructions say "TextCrawler implements VBScript / JavaScript ECMA-262 regular expressions." When I look at the features available through VBScript RegEx, there are more than are listed in TextCrawler's instructions. What features, if any, are available in TextCrawler that are not listed in TextCrawler's Instructions?
2. In particular, there is a feature in VBScript RegEx to add non-greediness by adding the character ? . Is this feature available in TextCrawler? I would like not having to use the method e.g. [^"]*" for non-greediness.
MS says about ? : "When this character immediately follows any of the other quantifiers (*, +, ?, {n}, {n,}, {n,m}), the matching pattern is non-greedy. A non-greedy pattern matches as little of the searched string as possible, whereas the default greedy pattern matches as much of the searched string as possible. For example, in the string "oooo", 'o+?' matches a single "o", while 'o+' matches all 'o's. "
Thank you,
Liz
.
Thank you for TextCrawler.
1. TextCrawler's instructions say "TextCrawler implements VBScript / JavaScript ECMA-262 regular expressions." When I look at the features available through VBScript RegEx, there are more than are listed in TextCrawler's instructions. What features, if any, are available in TextCrawler that are not listed in TextCrawler's Instructions?
2. In particular, there is a feature in VBScript RegEx to add non-greediness by adding the character ? . Is this feature available in TextCrawler? I would like not having to use the method e.g. [^"]*" for non-greediness.
MS says about ? : "When this character immediately follows any of the other quantifiers (*, +, ?, {n}, {n,}, {n,m}), the matching pattern is non-greedy. A non-greedy pattern matches as little of the searched string as possible, whereas the default greedy pattern matches as much of the searched string as possible. For example, in the string "oooo", 'o+?' matches a single "o", while 'o+' matches all 'o's. "
Thank you,
Liz
.