... a value that is not the empty string and matches the pattern /^[a-zA-Z]*[0-9]*\z/ ...
This part of the documentation is confusing to me because the empty string matches the pattern:
>perl -wMstrict -le "$_ = ''; print 'match' if /^[a-zA-Z]*[0-9]*\z/; " match
I'm sure I've seen a discussion of this point, but I cannot lay my hands on it at the moment. Anyone...?
In reply to Re^2: Generate list from a to arbitrary letter
by AnomalousMonk
in thread [Solved] Generate list from a to arbitrary letter
by three18ti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |