Hello. I do not understand why the following regex does not match "123dog":
/\A\d+[a-z]+\z/
I can get this to match with an app that checks regex expressions, but not within a perl program.
Also, I can get /^\d+[a-z]+$/ to always match, either within the perl program or in a regex checking app.
Does anyone know why this is? Am I missing something obvious?
In reply to REGEX problem with anchors by live4tech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |