Created
June 23, 2013 11:18
-
-
Save klan/5844671 to your computer and use it in GitHub Desktop.
Basic regex
This file contains 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
Metachar. Name Matches | |
. dot Any one character | |
[...] class Any character listed | |
[^...] negated class Any character NOT listed | |
------------------------------------------------------------- | |
^ caret Start of line | |
$ dollar End of line | |
\< backslash less-than Start of word | |
\> backslash greater-than End of word | |
------------------------------------------------------------- | |
| bar, pipe Matches either expression is separates | |
(...) parantheses Limits expressions (with use of ex. pipe) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment