[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unquoted special characters in regexps
From: |
martin rudalics |
Subject: |
Re: Unquoted special characters in regexps |
Date: |
Sat, 25 Feb 2006 20:18:38 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Andreas Schwab schrieb:
martin rudalics <address@hidden> writes:
* font-lock.el (lisp-font-lock-keywords-2)
* emacs-lisp/rx.el (rx-check-any, rx-check-not)
* generic-x.el (reg-generic-mode): Quote "]"s in regexps when
they have no special meaning.
']' is not special in regexps.
Andreas.
From the Elisp manual:
34.3.1 Syntax of Regular Expressions
------------------------------------
Regular expressions have a syntax in which a few characters are special
constructs and the rest are "ordinary". An ordinary character is a
simple regular expression that matches that character and nothing else.
The special characters are `.', `*', `+', `?', `[', ------> `]' <------, `^',
`$', and
`\'; no new special characters will be defined in the future. Any
other character appearing in a regular expression is ordinary, unless a
`\' precedes it.
- Unquoted special characters in regexps, martin rudalics, 2006/02/25
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/25
- Re: Unquoted special characters in regexps,
martin rudalics <=
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/25
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/25
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/25
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/27
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Message not available
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/25
- Message not available
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26
- Re: Unquoted special characters in regexps, Andreas Schwab, 2006/02/26
- Re: Unquoted special characters in regexps, martin rudalics, 2006/02/26