Nicholas Clark a écrit :
On Mon, Jul 25, 2005 at 12:07:27PM -0500, Chris Dolan wrote:
This is exactly the sort of feedback I was hoping to see, however. May
I recommend that you add a note about that $^R problem to the docs at
annocpan.org?
On Mon, Jul 25, 2005 at 12:07:27PM -0500, Chris Dolan wrote:
This is exactly the sort of feedback I was hoping to see, however. May
I recommend that you add a note about that $^R problem to the docs at
annocpan.org?
http://annocpan.org/~NWCLARK/perl-5.8.7/pod/perlre.pod
Annotations are
Chris Dolan wrote:
What's the minimum version of Perl needed to reliably exploit the (?{
code }) feature in regexps?
I'm working on a module that I call Net::IP::Match::Regexp which builds
and runs regexps that contain simple code blocks. It works great under
5.8.1 on my Mac, but I
On Jul 25, 2005, at 10:59 AM, David Landren wrote:
Note that $^R is broken. It won't be set correctly in cases like
'ab' =~ /^a(?{1})(?:b(?{2}))?$/
In this case $^R will be set to 1 instead of 2. I have filed a bug
report on this, but I doubt it will ever get fixed unless Dave
Mitchell find
On Jul 21, 2005, at 3:17 PM, A. Pagaltzis wrote:
* Chris Dolan [EMAIL PROTECTED] [2005-07-21 22:05]:
What's the minimum version of Perl needed to reliably exploit the (?{
code }) feature in regexps?
You can check at http://search.cpan.org/dist/perl/. The first
version where pelre documents
* Chris Dolan [EMAIL PROTECTED] [2005-07-21 23:30]:
Yes, I see your point about the experimental status. Well,
it's the only way I could think of to implement varying return
values via the regexp. I'm using only the most basic aspect of
the (?{code}) feature, so I'm safe unless someone takes
Chris Dolan wrote:
I'm working on a module that I call Net::IP::Match::Regexp which
builds and runs regexps that contain simple code blocks. It works
great under 5.8.1 on my Mac, but I haven't tested older Perl versions
yet.
My code turns these IP ranges (randomly generated)