in reply to Re^2: Regex pattern that fails when string contains a certain pattern
in thread Regex pattern that fails when string contains a certain pattern
"/_[a-z]+\d/"
"Your pattern does not match the second example: aa1_bb2"
$ perl -E '"aa1_bb2" =~ /_[a-z]+\d/ && say "Yes, it does!"' Yes, it does!
— Ken
|
|---|