Re: RFC 166 (v1) Additions to regexs

2000-09-12 Thread Mark-Jason Dominus
> > (The \ is necessary here because (?@foo) already has a meaning under > > Perl 5, and I think your proposal must address this.) > > (?@foo) has no meaning I checked the code I don't know what you mean, but you're mistaken, because it means to interpolate @foo as in a double-quoted string.

Re: RFC 72 (v3) Variable-length lookbehind: the regexp engine should also go backward.

2000-09-12 Thread Hugo
In <085601c01cc8$2c94f390$[EMAIL PROTECTED]>, "mike mulligan" w rites: :From: Hugo <[EMAIL PROTECTED]> :Sent: Monday, September 11, 2000 11:59 PM : : :> mike mulligan replied to Peter Heslin: :> : ... it is greedy in the sense of the forward matching "*" or "+" :constructs. :> : [snip] :> :> This

RFC 110 (v5) counting matches

2000-09-12 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE counting matches =head1 VERSION Maintainer: Richard Proctor <[EMAIL PROTECTED]> Date: 16 Aug 2000 Last Modified: 12 Sep 2000 Mailing List: [EMAIL PROTECTED] Number:

Generalised Additions to regexes

2000-09-12 Thread Richard Proctor
(proto RFC possibly, and some generalised ramblings) Given that expansion of regexes could include (+...) and (*...) I have been thinking about providing a general purpose way of adding functionality. I propose that the entire (+...) syntax is kept free from formal specification for this and is

Re: RFC 166 (v1) Additions to regexs

2000-09-12 Thread Richard Proctor
On Mon 11 Sep, Mark-Jason Dominus wrote: > > > (?@foo) is sort of equivalent to (??{join('|',@foo)}), ie it expands into > > a list of alternatives. One could possible use just @foo, for this. > > It just occurs to me that this is already possible. I've written a > module, 'atq', such that if

Re: RFC 72 (v3) Variable-length lookbehind: the regexp engine should also go backward.

2000-09-12 Thread mike mulligan
From: Hugo <[EMAIL PROTECTED]> Sent: Monday, September 11, 2000 11:59 PM > mike mulligan replied to Peter Heslin: > : ... it is greedy in the sense of the forward matching "*" or "+" constructs. > : [snip] > > This is nothing to do with greediness and everything to do with > left-to-rightness. T