http://qs1969.pair.com?node_id=1143953


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
my $regex = '(2[0-4]|1[0-9]|[1-9])?[0-9]';
to fix that.