in reply to Re: REGEX Match Single Digit
in thread REGEX Match Single Digit
*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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: REGEX Match Single Digit
by ikegami (Patriarch) on Aug 28, 2009 at 16:11 UTC | |
|
Re^3: REGEX Match Single Digit
by kennethk (Abbot) on Aug 28, 2009 at 16:21 UTC |