|
From: | Stefan Monnier |
Subject: | Re: Regex Expression for syntax highlight between delimiters |
Date: | Sun, 12 Feb 2006 15:59:05 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Okay. I fixed this one. > [^#]\\(\\[text\\][^{}]*\\[/text\\]\\) > is the regex that I need. > But comments are still welcome... Better use font-lock-syntactic-keywords to mark [text] and [/text] as string starter and string ender respectively. At least, if multi-line strings are important. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |