Because LC can't do two things at once.

Kay C Lan lan.kc.macmail at gmail.com
Mon Feb 23 15:05:22 CET 2015


On Sun, Feb 22, 2015 at 11:05 PM, Martin Koob <mkoob at rogers.com> wrote:

> I google something like 'regex extract
> between two single quotes' then browse the results and try out the regex
> statements I find on my source text.  I usually find something that works
> and learn a little more regex syntax along the way but I am always sure
> there is a more succinct or foolproof way to say it as a native Regexian
> would and as Peter has done here, down to 6 characters from 8.
>
> The regex101.com site referenced earlier has a community tab at the top.
100s of examples tested and modified for real life problems then optimised
by the experts. It's searchable and clearly marks which are pcre so fully
LC compatible. Copy any example back into the 'regex tester' tab and you
get a full explanation of what each of the regex elements is doing for you.


More information about the use-livecode mailing list