|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Non-printing characters may also be part of a regular expression. The following table lists the escape sequences that represent non-printing characters:
Matches the control character indicated by x. For example, \cM matches a Control-M or carriage return character. The value of x must be in the range of A-Z or a-z. If not, c is assumed to be a literal c character.
Matches a form-feed character. Equivalent to \x0c and \cL.
Matches a newline character. Equivalent to \x0a and \cJ.
Matches a carriage return character. Equivalent to \x0d and \cM.
Matches any white space character including space, tab, form-feed, and so on. Equivalent to [\f\n\r\t\v].
Matches any non-white space character. Equivalent to [^ \f\n\r\t\v].
Matches a tab character. Equivalent to \x09 and \cI.
Matches a vertical tab character. Equivalent to \x0b and \cK.