|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^4: Another Pattern Matching Questionby runrig (Abbot) |
| on Oct 12, 2012 at 17:50 UTC ( #998759=note: print w/ replies, xml ) | Need Help?? |
|
If you just want to match 0,1, or 2 and not "|", then your character class should be [012], not [0|1|2].
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||