Created
September 22, 2014 04:08
-
-
Save v-thomp4/41ec76b3982c615267e5 to your computer and use it in GitHub Desktop.
The special characters Regex
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
Characters Meaning | |
$ End of a line | |
^ Start of a line | |
[] Character class | |
? The preceding item is optional and matched at most once | |
* Zero or more of the preceding item | |
+ One or more of the preceding item | |
{} Match some number of the preceding item | |
| Alternation (true if either of the regexes it separates match) | |
. Any one character | |
\ Escape (take the following character literally) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment