in reply to Re^2: Recognizing numbers
in thread Recognizing numbers
Yes, that is correct, except is isn't more than 11, it's 11 or more. To elaborate, the first one is any digit, one or more times (greedy). The second is any non-whitespace character (letter, number, special char etc) a minimum of 11 times consecutively with no maximum specified (greedy).
Also, [0-9] can be simplified with a single \d.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Recognizing numbers
by afoken (Chancellor) on Jul 28, 2015 at 14:25 UTC | |
by 1nickt (Canon) on Jul 29, 2015 at 02:41 UTC |