Must be a way: escaping filter patterns

David Bovill david.bovill at gmail.com
Fri May 1 20:00:56 EDT 2009


OK - thanks!

2009/5/1 Sarah Reichelt <sarah.reichelt at gmail.com>

> 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.



More information about the use-livecode mailing list