Regexp - Non-printing characters

Regexp

About

encoding non-printing characters

Encoding type

backslash

Regexp - Backslash

Encoding Description
\a alarm, that is, the BEL character (hex 07)
\cx “control-x”, where x is any character
\e escape (hex 1B)
\f formfeed (hex 0C)
\n newline (hex 0A)
\p{xx} a character with the xx property, see unicode properties for more info
\P{xx} a character without the xx property, see unicode properties for more info
\r carriage return (hex 0D)
\t tab (hex 09)
\xhh character with hex code hh
\ddd character with octal code ddd, or backreference

See the documentation of the regexp function.

Binary character

You can also use the binary character (in Unicode) (binary zero terminates a pattern):





Discover More
Data System Architecture
Character Set - American Standard Code for Information Interchange ( ASCII )

ASCII is a character set originally based on the English alphabet, it encodes 128 specified characters into 7-bit binary integers (8 bits for the extended ASCII table) ASCII means American Standard Code...
Regexp
Regexp - Backslash

Backslash is the general escape meta-character with several uses. It can: Stand for itself, Quote the next character, Introduce an operator, Do nothing see The third use of backslash...



Share this page:
Follow us:
Task Runner