emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: info faces for strings and quotations


From: Stefan
Subject: Re: info faces for strings and quotations
Date: Tue, 05 Oct 2004 07:43:18 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

>   "\"[^\"]*?\\([\\\\]*\\)\"\\|`[^'\n]+'"
                 ^^^^^^

This is the regexp [\\] (once you remove the quoting related to strings).
In a char-range, \ is not special, so [\\] is just like [aa] (expect for
the char \ instead of the char a), so it's equivalent to [\] which is
equivalent to \\ except it's slower.  Just use

   "\"[^\"]*?\\(\\\\*\\)\"\\|`[^'\n]+'"

but I must say that I do not understand this \\(\\\\*\\) business.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]