in reply to Re^2: need help with a regex
in thread need help with a regex
{,8} is perfectly valid it means a maximum of 8 times
{,8} is a perfectly valid string which in a regular expression matches the character '{' followed by the character ',' followed by the character '8' followed by the character '}'. Perhaps you are thinking of the quantifier {0,8}?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: need help with a regex
by aquinom (Sexton) on Oct 22, 2010 at 21:28 UTC | |
by johngg (Canon) on Oct 22, 2010 at 22:08 UTC |