Re: RFC 166 (v1) Additions to regexs

2000-09-13 Thread Richard Proctor
On Wed 13 Sep, Bart Lateur wrote: > On Tue, 12 Sep 2000 19:01:35 -0400, Mark-Jason Dominus wrote: > > >I don't know what you mean, but you're mistaken, because it means to > >interpolate @foo as in a double-quoted string. > > Which is precisely the meaning he wants for it, with $" set to '|'. >

Re: RFC 166 (v1) Additions to regexs

2000-09-13 Thread Mark-Jason Dominus
> On Tue, 12 Sep 2000 19:01:35 -0400, Mark-Jason Dominus wrote: > > >I don't know what you mean, but you're mistaken, because it means to > >interpolate @foo as in a double-quoted string. > > Which is precisely the meaning he wants for it, with $" set to '|'. "Which is precisely the meaning he

Re: RFC 166 (v1) Additions to regexs

2000-09-13 Thread Bart Lateur
On Tue, 12 Sep 2000 19:01:35 -0400, Mark-Jason Dominus wrote: >I don't know what you mean, but you're mistaken, because it means to >interpolate @foo as in a double-quoted string. Which is precisely the meaning he wants for it, with $" set to '|'. I wonder if we're not trying too hard. What if,

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 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 166 (v1) Additions to regexs

2000-09-11 Thread Mark-Jason Dominus
> (?@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 you write use atq; then your regexes may co

RFC 166 (v1) Additions to regexs

2000-08-27 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Additions to regexs =head1 VERSION Maintainer: Richard Proctor <[EMAIL PROTECTED]> Date: 27 Aug 2000 Mailing List: [EMAIL PROTECTED] Version: 1 Number: 166 =head1 A