Re: Need Help With String Pattern Matching

2016-06-14 Thread Mike Bonner
If you don't want to write a regex loop, you can also use regex with filter. I haven't done speed comparisons though. On Tue, Jun 14, 2016 at 3:54 PM, Quentin Long wrote: > sez Gregory Lypny: > > Thank you for the tips on string pattern matching. I?m > > used to Mathematica?s

Re: Need Help With String Pattern Matching

2016-06-14 Thread Quentin Long
sez Gregory Lypny: > Thank you for the tips on string pattern matching. I?m > used to Mathematica?s string pattern syntax, which is > probably built on regex, but I can see the similarities in > your nice examples, particularly the using of > alternatives [Joe|Anges]. While Mathematica?s string >

Re: Need Help With String Pattern Matching

2016-06-13 Thread Gregory Lypny
Hello Quentin, Thank you for the tips on string pattern matching. I’m used to Mathematica’s string pattern syntax, which is probably built on regex, but I can see the similarities in your nice examples, particularly the using of alternatives [Joe|Anges]. While Mathematica’s string functions

Re: Need Help With String Pattern Matching

2016-06-12 Thread Quentin Long
Message: 14 Date: Sat, 11 Jun 2016 15:48:00 -0400 From: Gregory Lypny <gregory.ly...@videotron.ca> To: LiveCode Discussion List <use-livecode@lists.runrev.com> Subject: Need Help With String Pattern Matching Message-ID: <19a0e5fc-e4ce-42e8-9dd1-1b4d9040b...@videotron.ca> Conten

Need Help With String Pattern Matching

2016-06-11 Thread Gregory Lypny
Hello everyone, I’ve just come back to LiveCode and I'm pretty little rusty. I used to do some basic text analysis of files where the lines containing strings of interest were consistent and therefore easy to spot. I am now working on files where the chunk of text that contains the data I want