you
need ( to match ) not ( to match (. A ?[ list should specify for each
element what the matching element is perhaps
(?[( = ),{ = }, 01 = 10)
sort of hashish in style.
Perhaps the brackets could be defined as a hash allowing (?[%Hash)
Richard
--
[EMAIL PROTECTED]
--
David Cor
Some stuffbr
/p
Finally, tags which take arguments:
div align="center"Stuff/div
Would require some type of "this is optional" syntax:
/(?div\s*\w*)Stuff(?)/
Perhaps only the first word specified is taken as the tag name? This is
the XML/HTML spe
by
those who need them?
In principle, that's a very Perlish thing to do...
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]
--
David Corbin
Mach Turtle Technologies, Inc.
http://www.machturtle.com
[EMAIL PROTECTED]
airs with the previous ?m, if there was one that
was matched. The | character separates or'ed sets consistent with other
regex patterns.
You can do that, or you can say it's done with backreferences (as noted
above)
-Nate
David Corbin wrote:
I never saw one comment on this, and the more I think ab