Nathan Wiger wrote:
>
> > RFC 145: Brace-matching for Perl Regular Expressions (Eric Roode)
> >
> > Nathan Wiger suggested a special syntax for matching XML-style
> > open and close tags.
>
> This died in favor of a more general brace-matching construct, ?[ and
> ?], which could be used in this capacity:
>
> /(?['<h2>' => '</h2>')Stuff(?])/
>
> See here for details:
>
> http://www.mail-archive.com/perl6-language-regex%40perl.org/msg00256.html
>
> I believe Eric Roode and I think something like this is cool, but I also
> agree that piling stuff into regex's is getting really hairy. Hence the
> reason I withdrew from this discussion pending others' ideas of
> alternatives.
>
I too am looking forward to the alternative MJD has promised. Until
that
time, perhaps RFC145 should be updated with this syntax.
>
> -Nate
--
David Corbin
Mach Turtle Technologies, Inc.
http://www.machturtle.com
[EMAIL PROTECTED]