![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re: Need a regular expression to check the first digitby AnomalousMonk (Bishop) |
on May 19, 2021 at 06:20 UTC ( #11132728=note: print w/replies, xml ) | Need Help?? |
Further to GrandFather's remarks: The regex /^[5]+$/ does not match the string '503009496', but is there any other string it would match? What about the strings
If you find some strings that match, how would they and the strings you know do not match interact with the regex components mentioned by GrandFather? Please see perlre, perlretut, perlrequick and perlreref. Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|