Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Tip !
- Metacharacters in regular expresions are usefull and easy to use.
- The following is a set of special values that denote certain common ranges. They have the advantage that also take in account the 'locale' i.e. any variant of the local language/coding system.
- [:digit:] Only the digits 0 to 9
- [:alnum:] Any alphanumeric character 0 to 9 OR A to Z or a to z.
- [:alpha:] Any alpha character A to Z or a to z.
- [:blank:] Space and TAB characters only.
- [:xdigit:] .
- [:punct:] Punctuation symbols . , " ' ? ! ; :
- [:print:] Any printable character.
- [:space:] Any space characters.
- [:graph:] .
- [:upper:] Any alpha character A to Z.
- [:lower:] Any alpha character a to z.
- [:cntrl:] .
Add Comment
Please, Sign In to add comment