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

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

Re: font-lock and fontifying the few first nonempty lines in a buffer


From: Stefan Monnier
Subject: Re: font-lock and fontifying the few first nonempty lines in a buffer
Date: 03 Jul 2003 21:16:38 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> You can also try "\\`\\(\\(.+\n\\)*?\\)\n".
> "\\(\\`\\(?:\\(?:.+\n\\)*?\\)\n\\)"
> with match data set to the whole match.

The external set of parens is useless since it sets submatch 1 to
be a redundant copy of submatch 0.


        Stefan


reply via email to

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