in reply to Re: Is this a bug in perl regex engine or in my brain?
in thread Is this a bug in perl regex engine or in my brain?
Your regex no longer matches 10-99. You'd need something like
to fix that.my $regex = '(2[0-4]|1[0-9]|[1-9])?[0-9]';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Is this a bug in perl regex engine or in my brain?
by Athanasius (Archbishop) on Oct 07, 2015 at 00:23 UTC |
In Section
Seekers of Perl Wisdom