Re: XML/HTML-specific ?< and ?> operators? (was Re: RFC 145 (alternate approach))
[email protected] (Jonathan Scott Duff) Thu, 7 Sep 2000 14:49:01 -0500
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Sep 07, 2000 at 08:20:42PM +0100, Richard Proctor wrote:
> I think what is needed is something along the line of :
>
> $re = qz{ '(' \$re ')'
> | \$re \$re
> | [^()]+
> };
>
> Where qz is some hypothetical new quoting syntax
How about qy() for Quote Yacc :-) This stuff is starting to look
more and more like we're trying to fold lex and yacc into perl. We
already have lex through (?{code}) in REs, but we have to hand-write
our own yacc-a-likes.
-Scott
--
Jonathan Scott Duff
[email protected]