Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...::: Identifiers :::...
- . > any character (Except for a newline)
- \. > a period
- \b > whitespace around words
- \d > any number
- \D > anything but number
- \S > anything but space
- \s > space
- \w > any character
- \W > anything but a character
- ...::: Modifiers :::...
- () > in between
- {a,b} > range(a~b)
- [] > range or variance >> Example: [A-Za-z]
- + > Match 1 or more
- ? > Match 0 or 1
- * > Match 0 or more
- $ > match EOF
- ^ > match beginning of a string
- | > either or
- ...::: Whitespace characters :::...
- \e > escape
- \f > form feed
- \n > newline
- \r > return
- \s > space
- \t > tab
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement