Filter and the Question Mark (escaping ? in regex)
Thierry Douez
th.douez at gmail.com
Thu Jan 24 04:18:53 EST 2013
Hi Bob,
You are wrong and right :)
Right because that's how regex works in most environment.
Wrong because regex inside Livecode behave sometimes in strange ways...
Anyway, be happy.
Thierry
2013/1/23 Robert Sneidar <slylabs13 at me.com>
> I mean Thierry
>
> > I just checked this, and Malte is correct. I see now why the second
> example would only select lines ending in ?. I should probably remove
> "expert in regex" from my resume? ;-)
> >
> > Bob
> >
> >
> > On Jan 23, 2013, at 3:30 AM, Thierry Douez wrote:
> >
> >> Hi Malte,
> >>
> >> for any position of ? in a line: filter tText with "*[?]*"
> >>
> >> for the last char of a line: filter tText with "*[?]"
> >>
> >> Regards,
> >> Thierry
>
More information about the use-livecode
mailing list