Created
September 12, 2012 23:25
-
-
Save meskarune/3710726 to your computer and use it in GitHub Desktop.
Regular expressions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A regular expression may be followed by one of several repetition operators: | |
| ? The preceding item is optional and matched at most once. | |
| * The preceding item will be matched zero or more times. | |
| + The preceding item will be matched one or more times. | |
| {n} The preceding item is matched exactly n times. | |
| {n,} The preceding item is matched n or more times. | |
| {,m} The preceding item is matched at most m times. | |
| {n,m} The preceding item is matched at least n times, but not more than m times. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment