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

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

Re: multiline regex mode?


From: Dieter Wilhelm
Subject: Re: multiline regex mode?
Date: Fri, 13 Oct 2006 22:02:21 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Giles Chamberlin <giles.chamberlin@tandberg.net> writes:

> Is it possible to have .* match over a new line?
>
> I'd like to be able to match 
>
> {foo}
>
> and
>
> {
>    foo
> }
>
> with a regex of the form {.*} without having to specify the line
> break.

Does this (between the "")

"{[^}]*}"

work for you?  

>
> Thanks

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

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