Title |
Test
Find
Pattern Title
|
Expression |
^[1-9]+[0-9]*$ |
Description |
Allows only positive numbers, greater than zero |
Matches |
1 | 10 | 135 |
Non-Matches |
0 | -1 | aaa |
Author |
Rating:
Andreo Romera
|
Source |
|
Your Rating |
|
Title: Fails to match 01
Name: Randal L. Schwartz
Date: 7/29/2005 5:42:09 PM
Comment:
01 clearly qualifies as "positive number, greater than zero" and yet fails to be matched by your regex.