all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sandipchitale@yahoo.com (Sandip Chitale)
Subject: Re: font-lock and fontifying the few first nonempty lines in a buffer
Date: 27 Jun 2003 18:01:14 -0700	[thread overview]
Message-ID: <b607d812.0306271701.586fddb5@posting.google.com> (raw)
In-Reply-To: 5lisqr5ume.fsf@rum.cs.yale.edu

"Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote in message news:<5lisqr5ume.fsf@rum.cs.yale.edu>...
> >     "\\`\\(\\(.+\n\\)\\{1,7\\}\\)\n"
> 
> You can also try "\\`\\(\\(.+\n\\)*?\\)\n".
> 

"\\(\\`\\(?:\\(?:.+\n\\)*?\\)\n\\)"
with match data set to the whole match.

You can interactively experiment with this stuff using

M-x re-builder <RET>

      reply	other threads:[~2003-06-28  1:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26 20:47 font-lock and fontifying the few first nonempty lines in a buffer Ulf Andersson
2003-06-26 23:26 ` Kevin Rodgers
2003-06-27 10:43   ` Ulf Andersson
2003-06-27 12:44     ` Kai Großjohann
2003-06-27 14:41       ` Ulf Andersson
2003-06-27 15:15         ` Kai Großjohann
2003-06-27 16:54     ` Stefan Monnier
2003-06-28  1:01       ` Sandip Chitale [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b607d812.0306271701.586fddb5@posting.google.com \
    --to=sandipchitale@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.