[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiline regex mode?
|
From: |
Giles Chamberlin |
|
Subject: |
Re: multiline regex mode? |
|
Date: |
Mon, 16 Oct 2006 16:42:58 +0100 |
|
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> Giles Chamberlin <address@hidden> writes:
>>
>> That works but I don't understand why given that {.*} fails. Any
>> enlightenment gratefully received!
>
> This is because of the following (from M-x info m elisp):
>
> `.' (Period)
> is a special character that matches any single character except a
> newline.
>
> `[^ ... ]'
> A complemented character alternative can match a newline, unless
> newline is mentioned as one of the characters not to match.
Ah - all is now clear - thanks for your help.
--
Giles