|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^2: matching numeric rangeby state-o-dis-array (Hermit) |
| on Feb 24, 2005 at 23:18 UTC ( #434300=note: print w/ replies, xml ) | Need Help?? |
|
I'm liking this. One question on this. Is there a simple way (one line regex substitution for example) to get from B10-15 to B1[0-5], or B120-125 to B12[0-5]? Actually, as I think about it, I may need to apply some logic to handle B18-24. Can you think of a good way to handle this one?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||