Must be a way: escaping filter patterns

Sarah Reichelt sarah.reichelt at gmail.com
Fri May 1 17:30:07 EDT 2009


On Sat, May 2, 2009 at 6:11 AM, David Bovill <david at architex.tv> wrote:
> Still trying to figure this out - my hack ends up failing - I've returned a
> list of child names from XML, and wish to filter out all the "<tr>" elements
> which appear like tr[1], tr[2]. So I want to filter using "tr[*]", but as
> "[" is a special char... andthe usual "\[" does not work for escaping? Any
> ideas?


I had a similar case where I needed to include * in my filter string.
I ended up doing a replace, then filtering, then putting the *'s back again.

Cheers,
Sarah



More information about the use-livecode mailing list