Multiple RegEx Flavors in Macro Scheduler

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Multiple RegEx Flavors in Macro Scheduler

Post by armsys » Sun May 19, 2013 10:20 pm

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.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon May 20, 2013 2:56 pm

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.
Why is it not mentioned in the Macro Scheduler manual?
Because we just use it and the Macro Scheduler help file links to the EasyPatterns documentation. We don't duplicate it. We just say:
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]
The link takes you to the EasyPatterns reference and website where more info can be found.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Mon May 20, 2013 8:25 pm

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.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts