My view ... RegExp syntax is fairly limited in scope and relatively easy to learn. Powershell is a whole other beast.
I have used a fantastic tool to work with and develop RegExp for a few years now and the small investment has paid over time and again .. https://www.regexbuddy.com/ recommend it highly !! -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Edward Leafe Sent: Saturday, 22 October 2016 7:36 AM To: [email protected] Subject: Re: Speeding up a Powershell script On Oct 21, 2016, at 1:53 PM, Gene Wirchenko <[email protected]> wrote: > >> +1. It's like the UberNerds who want to obfuscate just for the "fun" of it to be UberNerds. I felt similar about RegExp. > > Regexes can be great, but I resist the temptation to make long regexes. That gets in write-only code all too fast. Instead, I might use a couple of shorter ones with a bit of glue code. Complex? Just add comments! http://www.diveintopython.net/regular_expressions/verbose.html -- Ed Leafe [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

