

Might be a back reference, or another way of Is the same, provided there are fewer than 40 \040 is another way of writing a space \40 The backslash, and generates a single byte from the Subpatterns, PCRE re-reads up to three octal digits following Greater than 9 and there have not been that many capturing Inside a character class, or if the decimal number is Of how this works is given later, following the discussion Previous capturing left parentheses in the expression, theĮntire sequence is taken as a back reference. Is less than 10, or if there have been at least that many Outside a character class, PCRE reads itĪnd any following digits as a decimal number. The handling of a backslash followed by a digit other than 0 Supply two digits after the initial zero if the character Specifies two binary zeros followed by a BEL character. In both cases, if there are fewer than two digits, just those thatĪre present are used. \xhh, matches a two-byte UTF-8 character if the valueĪfter " \0" up to two further octal digits are read. The original hexadecimal escape sequence,
#Batch ansi escape sequences windows 10 code
It is interpreted as a UTF-8 character whose code number is the Read (letters can be in upper or lower case).Īllowed, where the contents of the braces is a string of hexadecimalĭigits. Then bit 6 of the character (hex 40) is inverted.Īfter " \x", up to two hexadecimal digits are

If " x" is a lower case letter, it is converted The precise effect of " \cx" is as follows: \ddd character with octal code ddd, or backreference \r carriage return (hex 0D) \R line break: matches \n, \r and \r\n \t tab (hex 09) \xhh \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 Usually easier to use one of the following escape sequences Is no restriction on the appearance of non-printing characters,Īpart from the binary zero that terminates a pattern,īut when a pattern is being prepared by text editing, it is Non-printing characters in patterns in a visible manner. Whitespace or "#" character as part of the pattern.Ī second use of backslash provides a way of encoding An escaping backslash can be used to include a Whitespace in the pattern (other than in a character class) andĬharacters between a "#" outside a character class and the next newlineĬharacter are ignored. Thus if \ has to be matched with a regularĮxpression \\, then "\\\\" or '\\\\' must be used in PHP code. Single and double quoted PHP strings have special Particular, if you want to match a backslash, you write "\\". With "\" to specify that it stands for itself. Meta-character, so it is always safe to precede a non-alphanumeric This applies whether or not theįollowing character would otherwise be interpreted as a This use ofīackslash as an escape character applies both inside andįor example, if you want to match a "*" character, you write


Firstly, if it isįollowed by a non-alphanumeric character, it takes away any The backslash character has several uses.
#Batch ansi escape sequences windows 10 archive
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions Keyboard Shortcuts ? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search
