Re: perl6-language-regex summary for 20000911
[email protected] (David Corbin) Mon, 11 Sep 2000 20:49:23 -0400
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Organization | Mach Turtle Technologies |
| Message-ID | <[email protected]> |
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]