Re: RFC 145 (alternate approach)

2000-09-06 Thread David Corbin
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

Re: XML/HTML-specific ? and ? operators? (was Re: RFC 145 (alternate approach))

2000-09-06 Thread David Corbin
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

Re: XML/HTML-specific ? and ? operators? (was Re: RFC 145 (alternate approach))

2000-09-06 Thread David Corbin
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]

Re: RFC 145 (alternate approach)

2000-09-05 Thread David Corbin
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