[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: info faces for strings and quotations
From: |
Drew Adams |
Subject: |
RE: info faces for strings and quotations |
Date: |
Tue, 5 Oct 2004 01:58:44 -0700 |
Sorry, the main regexp should be non-greedy. This:
"\"[^\"]*?\\([\\\\]*\\)\"\\|`[^'\n]+'"
instead of this:
"\"[^\"]*\\([\\\\]*\\)\"\\|`[^'\n]+'"
Thanks Lennart.
- Drew
-----Original Message-----
Below is code that highlights "..." and `...' quotations in Info.
...
(defun info-fontify-quotations ()
"..."
(goto-char (point-min))
(let ((either-re "\"[^\"]*\\([\\\\]*\\)\"\\|`[^'\n]+'")
...))
- info faces for strings and quotations, Drew Adams, 2004/10/03
- RE: info faces for strings and quotations, Drew Adams, 2004/10/05
- Re: info faces for strings and quotations, Miles Bader, 2004/10/05
- RE: info faces for strings and quotations,
Drew Adams <=
- Re: info faces for strings and quotations, Stefan, 2004/10/05
- RE: info faces for strings and quotations, Drew Adams, 2004/10/05
- Re: info faces for strings and quotations, Luc Teirlinck, 2004/10/05
- RE: info faces for strings and quotations, Drew Adams, 2004/10/06
- Re: info faces for strings and quotations, Miles Bader, 2004/10/06
- RE: info faces for strings and quotations, Drew Adams, 2004/10/06
- RE: info faces for strings and quotations, Drew Adams, 2004/10/06
- Re: info faces for strings and quotations, Stefan Monnier, 2004/10/06
- RE: info faces for strings and quotations, Drew Adams, 2004/10/06