Quantifiers
Pattern | Description |
---|---|
a? |
Zero or one of a |
a* |
Zero or more of a |
a+ |
One or more of a |
[0-9]+ |
One or more of 0-9 |
a{3} |
Exactly 3 of a |
a{3,} |
3 or more of a |
a{3,6} |
Between 3 and 6 of a |
a* |
Greedy quantifier |
a*? |
Lazy quantifier |
a*+ |
Possessive quantifier |
Comments