| www.delorie.com/gnu/docs/regex/regex_6.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The `\' character has one of four different meanings, depending on the context in which you use it and what syntax bits are set (see section 2.1 Syntax Bits). It can: 1) stand for itself, 2) quote the next character, 3) introduce an operator, or 4) do nothing.
[ ... ] and [^ ... ])) if the syntax bit
RE_BACKSLASH_ESCAPE_IN_LISTS is not set. For example, `[\]'
would match `\'.
RE_BACKSLASH_ESCAPE_IN_LISTS is set.
RE_BK_PLUS_QM, RE_NO_BK_BRACES, RE_NO_BK_VAR,
RE_NO_BK_PARENS, RE_NO_BK_REF in 2.1 Syntax Bits. Also:
\b)).
\B)).
\<)).
\>)).
\w)).
\W)).
emacs
defined, then `\sclass' represents the match-syntactic-class
operator and `\Sclass' represents the
match-not-syntactic-class operator (see section 5.1 Syntactic Class Operators).
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |