in reply to Should be a simple spaces/digits regex....but I'm turning grey!
$num = $1 if length($string) == 7 and $string =~ /^\s*(\d+)$/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Should be a simple spaces/digits regex....but I'm turning grey!
by viffer (Beadle) on Aug 05, 2014 at 07:30 UTC | |
by Bethany (Scribe) on Aug 05, 2014 at 15:00 UTC | |
by viffer (Beadle) on Aug 05, 2014 at 23:15 UTC |