*SLAPS forehead*
That simple, eh? That will match just the number 1, and not 11, or 111, etc. Lemme try it out. Does that work if I read the number one from <STDIN> and chomp the newline? Is the digit 1 now string 1?
In reply to Re^2: REGEX Match Single Digit
by spickles
in thread REGEX Match Single Digit
by spickles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |