Quote:
Originally Posted by JSWolf
[0-9]*
|
Matching a digit 0 or more times doesn't really make sense when there's
never going to be no digit (though it will still work in this instance). Matching one or more digits [0-9]+ makes more logical sense. And \d+ is even simpler, since it's the exact same thing, but shorter and easier to type.