laziness, impatience, and hubris | |
PerlMonks |
Re: Regex to detect file nameby Anonymous Monk |
on Jul 05, 2018 at 20:36 UTC ( [id://1217998]=note: print w/replies, xml ) | Need Help?? |
it is easy to do with two regexes, such as:
The first checks what the entire filename consists of, and the second checks the leading letter. There are endless variations on the same idea.
In Section
Seekers of Perl Wisdom
|
|