Single Character Escape
Identifies a set containing only one character, usually because that character is difficult or impossible to write directly into a regular expression.
Syntax
SingleCharEsc ::= '\' [nrt\|.?*+(){} #x2Dx5B#X5D#x5E]
Remarks
The following table shows valid single character escapes and their descriptions.
Valid single character escapes | Set of characters C(R) |
---|---|
\n |
The new line character (#xA). |
\r |
The return character (#xD). |
\t |
The tab character (#x9). |
\\ |
\ |
\| |
| |
\. |
. |
\- |
- |
\^ |
^ |
\? |
? |
\* |
* |
\+ |
+ |
\{ |
{ |
\} |
} |
\( |
( |
\) |
) |
\{ |
{ |
\} |
} |
\[ |
[ |
\] |
] |
See Also
Reference
XML Schema Regular Expressions
XML Schema Regular Expressions Reference Chart