The escape character. MySQL recognizes the following escape sequencesIn a string, some sequences have special meanings. These sequences begin with a backslash (' \ '), the so-called escape character. MySQL recognizes the following escape
Talk today about the escape character for PowerShellWhat is an escape character, the escape character in the upper-left corner of the keyboard and ~ is a key that uses the escape character to turn some special characters into normal characters, or
In a string, some sequences have special meanings. These sequences start with a backslash ('\').Escape characters. MySQL recognizes the following escape sequence:
\ 0
ASCII 0 (NUL) characters.
\'
Single quotes (''').
A small trap for escape character "\", character escape trapI. Problem Introduction
I haven't used c # to connect to the database program for a long time. However, I found some information on the Internet and wrote it out. However, when I debug the
Characters
Meaning: For a character, it is usually indicated by literal meaning that the character followed by a special character is not interpreted.
For example:/b/matches the character ' B ', which becomes a special character by adding a
Escape character Reference:
\a: Beep, Bell
\b: Rewind: back to a grid
\f: Page Change
\ n: newline, the cursor to the beginning of the line
\ r: Enter, the cursor to the beginning of the line
\ t: Horizontal tabulation
\v: Vertical Tabulation
escape character meaning ascii code value (decimal \a Ring \b backspace \f page break \n line-break \r Enter \t Horizontal tabulation \v Vertical Tabulation \\ backslash 092 \? question mark character 063 \ ' Single
Document directory
Unicode Character Set Overview
Encoding System Changes
Common unicode encoding
Unicode-Related Frequently Asked Questions
Original article: http://www.cnblogs.com/KevinYang/archive/2010/06/18/1760597.html
Character
Common Regular Expressions/Corresponding escape characters/syntax
Only numbers are allowed: "^ [0-9] * $ ".
Only n digits can be entered: "^/d {n} $ ".
You can only enter at least N digits: "^/d {n,} $ ".
Only M ~ can be input ~ N-digit :. "^/D {m,
For ease of viewing, escape characters are collected as follows:Escape Character meaning ASCII code value (decimal)/A bell (BEL) 007/B backspace (BS) 008/F form feed (FF) 012/N line feed (LF) 010/R press enter (CR) 013/T horizontal tabulation (HT) 00
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.