unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Backslash - Generic Mode / Regular Expressions
@ 2005-11-16  7:52 Frank-René Schäfer
  0 siblings, 0 replies; only message in thread
From: Frank-René Schäfer @ 2005-11-16  7:52 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-16  7:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16  7:52 Backslash - Generic Mode / Regular Expressions Frank-René Schäfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).