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

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

Re: emacs regexp question


From: Jesper Harder
Subject: Re: emacs regexp question
Date: Wed, 04 Jun 2003 19:56:53 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

D. Goel <address@hidden> writes:

>> - How should I ask for the first occurrence of N blank lines for
>> some fixed, yet large, N.
>
> "\n\n\n\n..."  I don't think there's another way to do it using emacs'
> regexps.

You can use the \{M\} postfix operator (M integer).

So e.g. "\n\\{500\\}" would match exactly 500 blank lines.


reply via email to

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