What i have understood about the Quantifier {}
:
The first integer in Quantifier {}
means at least and the second integer means at most. So {n,m}
would mean at least n and at most m.
What i don't understand:
Similarly, {0,0}
means at least zero and at most zero (which is equal to excluding some character). So the Regex /(?=\W{0,0})/
should exclude special characters but it doesn't why ?