Re: Regex extensions?

2002-04-02 Thread Larry Wall
Robin Houston writes: : Interesting! : : I think you're imagining that it will be possible to define something : like an EBNF grammar. Is that right? Will you be able to get a parse : tree out, rather than just a flat list? (There's certainly an issue : with my current implementation about what

Re: Regex extensions?

2002-04-02 Thread Robin Houston
Interesting! I think you're imagining that it will be possible to define something like an EBNF grammar. Is that right? Will you be able to get a parse tree out, rather than just a flat list? (There's certainly an issue with my current implementation about what to do with the strings captured b

Re: Regex extensions?

2002-04-01 Thread Larry Wall
Robin Houston writes: : Are there any plans to change the regex syntax for Perl 6? That's what the next apocalypse is about. : I ask because I've spent the last few days playing with PCRE, : and I added a rather powerful extension to it as an experiment. : Details at http://www.puffinry.freeserv

Re: Regex extensions?

2002-04-01 Thread Luke Palmer
> If my proposal has a hidden agenda, it's that I want to show that > you can get a lot of the power we want without actually having to > embed arbitrary code. In general, however, I think that embedding code in regexes is a *very* good idea. Sure you can get a lot of power without it, but it is

Regex extensions?

2002-04-01 Thread Robin Houston
Are there any plans to change the regex syntax for Perl 6? I ask because I've spent the last few days playing with PCRE, and I added a rather powerful extension to it as an experiment. Details at http://www.puffinry.freeserve.co.uk/regex-extension.html Named capture-blocks are *long* overdue as