in reply to Re^6: Regex question - identify which pattern comes first
in thread Regex question - identify which pattern comes first
Best a new thread with full benchmark. Too much guessing needed...
And consider
use Scalar::Util qw(looks_like_number);
|
|---|