{,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}?
In reply to Re^3: need help with a regex
by jwkrahn
in thread need help with a regex
by aquinom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |