help-gnu-emacs
[Top][All Lists]
Advanced

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

Backslash - Generic Mode / Regular Expressions


From: Frank-René Schäfer
Subject: Backslash - Generic Mode / Regular Expressions
Date: 15 Nov 2005 23:52:41 -0800
User-agent: G2/0.2

I am having trouble to match against a backslash in a generic mode
definition.
>From the response of (regexp-quote "\end")  --> "\\\\end" I would
assume that
"\\\\end" could be used as shown in the example below. However, it does
not
work that way. Is there anything special to consider?

(define-generic-mode 'my-mode
                     (list (cons "/~" "~/") (cons "$$" "$$"))
                     (list  ... "\\\\end") 
....
)

Thanks

Frank



reply via email to

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