XP is just a number | |
PerlMonks |
Re: Changing the numerical value from 0 to 1by Kenosis (Priest) |
on Jan 21, 2014 at 01:35 UTC ( [id://1071412]=note: print w/replies, xml ) | Need Help?? |
You could match w/word boundaries:
Or you could match from start to end:
Or w/o a regex:
Edit: I believe that ww and kcott provided sufficient reasons below to keep only option #2.
In Section
Seekers of Perl Wisdom
|
|