in reply to Re^3: simple pattern match ?
in thread simple pattern match ?
So my logic above is flawed. I'm almost certain that I tested your pattern earlier and it failed - but obviously not.
Anyway, I guess that means that the regex engine is "smart enough" to know that even if it gets a match with the [012345]? - it has to "release" it to the \d if there is no 2nd digit - yes?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: simple pattern match ?
by Corion (Patriarch) on Mar 15, 2006 at 17:15 UTC |