|
|
| Do you know where your variables are? | |
| PerlMonks |
Re^2: ranges to globsby jpl (Monk) |
| on May 14, 2011 at 19:59 UTC ( #904877=note: print w/ replies, xml ) | Need Help?? |
|
In the context I'm dealing with, there will be no non-digits that could match, and ? chews up less space than [0-9]. But given a solution that assumes ?, it's easy enough to convert it to one using [0-9], where non-digits might appear. I doubt that the elegance (or lack thereof) of the code will be influenced much by the choice.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||