Problem with filter and regex

Bernard Devlin bdrunrev at gmail.com
Wed Jul 9 14:02:05 EDT 2014


I haven't use the filter by regex pattern, but perhaps try putting the "End
of Line" marker ($) at the end of your regex.  You may need the "Start of
Line" marker too.

^.*cat.*mat$

^ is the Start of Line marker.

Bernard


On Wed, Jul 9, 2014 at 4:28 PM, Magicgate Software - Skip Kimpel <
skip at magicgate.com> wrote:

> Hello LC'ers
>
> I am comparing two lists using the following:
>        filter lines of tdg2Text with regex pattern tRegexp into tTemp
>
> The problem I have is that this is pulling up multiple lines in tdg2Text
> when if fact I need to filter out a specific line.  tRegExp should MATCH
> (exactly) item 1 of tdg2Text.
>
> Make sense?
>
> SKIP
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list