"/_[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
In reply to Re^3: Regex pattern that fails when string contains a certain pattern
by kcott
in thread Regex pattern that fails when string contains a certain pattern
by hoppfrosch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |