Must be a way: escaping filter patterns

Bernard Devlin bdrunrev at gmail.com
Sat May 2 03:29:49 EDT 2009


does this work?

filter tXmlText with "*tr[[2]]"

When you wrote to the list about this problem before, I did a quick
test and that seemed to work, so I thought "maybe I don't get the
problem".

I'm not sure if it will work using "[[*]]"

Bernard

On Fri, May 1, 2009 at 9:11 PM, 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?
>
> 2009/4/24 David Bovill <david at architex.tv>
>
>> Any one know the way to escape characters such as "[" in patterns for the
>> "filter" expression?
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list