Thanks Jim - good to confirm that there is no way to escape chars for filter
expressions. I guess this is the sort of thing that should be posted as a
note to the dictionary.
2009/5/2 Jim Ault jimaultw...@yahoo.com
The technique I have used in the past is to do a
replace [ with † in
I think this does what you require:
put tr[1] cr after tList
put tr(2) cr after tList
put tr[3] cr after tList
put tr[a] cr after tList
put td[1] cr after tList
put tra[1] cr after tList
filter tList without [t][r]?[0-9]]
put tList
Try playing around with the 2nd letter of the filter
This would usually work :
put theader[1] cr after tList
put th(1) cr after tList
put th(2) cr after tList
put th[3] cr after tList
put tbody[1] cr after tList
put tr[1] cr after tList
put td[2] cr after tList
put tra[3] cr after tList
put tr[11] cr after tList
filter tList without
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
Afraid not :(
2009/5/2 Bernard Devlin bdrun...@gmail.com
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 [[*]]
The technique I have used in the past is to do a
replace [ with † in blockOfLines
replace ] with ^ in blockOfLines
filter blockOfLines without tr††*^^
--and in case there are kept lines that had the '[]' chars
replace † with [ in blockOfLines
replace ^ with ] in blockOfLines
Hope this helps
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?
On Sat, May 2, 2009 at 6:11 AM, David Bovill da...@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
[
OK - thanks!
2009/5/1 Sarah Reichelt sarah.reich...@gmail.com
On Sat, May 2, 2009 at 6:11 AM, David Bovill da...@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
Any one know the way to escape characters such as [ in patterns for the
filter expression?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
10 matches
Mail list logo