Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XML Schemas

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]

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

XML Schema Regular Expressions | XML Schema Regular Expressions Reference Chart | Data Type Facets