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
Message: 14
Date: Sat, 11 Jun 2016 15:48:00 -0400
From: Gregory Lypny
To: LiveCode Discussion List
Subject: Need Help With String Pattern Matching
Message-ID: <19a0e5fc-e4ce-42e8-9dd1-1b4d9040b...@videotron.ca>
Content-Type: text/plain; charset=utf-8
Hello everyone,
> I used to do s
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 are
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
> f
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 string pattern synt