[Top][All Lists]

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

Re: Multiline regex

From: S Boucher
Subject: Re: Multiline regex
Date: Mon, 21 Nov 2011 08:46:17 -0800 (PST)

----- Original Message -----

> and wish to replace the "paragraphs" a..b.  Using re-builder (and 
> based
> on I have constructed a
> successfully matching regex:
> "a\\(.*
> ?\\)*?*b"

The expression, has some weird things.  * means 0-to-n occurences, ? means 
0-or-1 occurences.  So, you probably do not want *?*.

Try M-x regexp-builder

It's a nice interactive way to put together your regexp.

reply via email to

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