Do you ever use PCRE and/or EasyPatterns?
In Macro Scheduler alone, it implements 3 RegEx flavors:
1. VBScript RegEx;
2. PCRE
3. EasyPatterns
All impose severe limitations (bugs) rendering it useless for advanced regex applications.
For VBScript RegEx, Macro Scheduler disallows CRLF and double-quote.
For PCRE and EasyPatterns, both corrupt source text in unicode.
In accordance with the reply from DataMystic.com in Melbourne, Australia, "EasyPattern Helper is ANSI based, ..."
Why is it not mentioned in the Macro Scheduler manual?
To reduce the software bloat, Marcus, would you consider removing EasyPatterns from Macro Scheduler? Few programmers in the world have used EasyPatterns. And it's poorly documented other than http://www.datamystic.com/easypatterns_reference.html.
Multiple RegEx Flavors in Macro Scheduler
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Hi,
1, as stated previously today VBScript is a Microsoft technology. We simply make use of VBScript which is already on your system. We cannot change it.
2, The internal RegEx engine is a PCRE implementation.
3, EasyPatterns is just a natural English parser which translates to a regular expression. That expression is then parsed using the built in PCRE based RegEx engine. It is NOT a RegEx flavour, it just sits atop 2 above.
1, as stated previously today VBScript is a Microsoft technology. We simply make use of VBScript which is already on your system. We cannot change it.
2, The internal RegEx engine is a PCRE implementation.
3, EasyPatterns is just a natural English parser which translates to a regular expression. That expression is then parsed using the built in PCRE based RegEx engine. It is NOT a RegEx flavour, it just sits atop 2 above.
Because we just use it and the Macro Scheduler help file links to the EasyPatterns documentation. We don't duplicate it. We just say:Why is it not mentioned in the Macro Scheduler manual?
The link takes you to the EasyPatterns reference and website where more info can be found.By setting easypatterns to 1 pattern can use EasyPatterns syntax. EasyPatterns uses an english-like structure to simplify the use of regular expressions. See the EasyPatterns Reference. [link]
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Marcus,
You have already helped me resolve my VBScript/Regex issue (my fault), for which I'm grateful to you.
Thanks for augmenting more clarity to regex in the context of Macro Scheduler. You told us things we didn't know before, such as "parsed using the built in PCRE based RegEx engine."
Marcus, thanks for your generous assistance.
Happy MS scripting.
You have already helped me resolve my VBScript/Regex issue (my fault), for which I'm grateful to you.
Thanks for augmenting more clarity to regex in the context of Macro Scheduler. You told us things we didn't know before, such as "parsed using the built in PCRE based RegEx engine."
Marcus, thanks for your generous assistance.
Happy MS scripting.