[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trivial regexp problem
From: |
Luca Ferrari |
Subject: |
Re: trivial regexp problem |
Date: |
Tue, 22 Jan 2013 17:27:38 +0100 |
Sgrunt...I should have tried it into the eshell, There was another
error, not tied to the regexp, that of course is working.
Thanks,
Luca
On Tue, Jan 22, 2013 at 12:00 PM, Bastien <bzg@altern.org> wrote:
> Hi Luca,
>
> Luca Ferrari <fluca1978@infinito.it> writes:
>
>> I need a little hint on a regexp that is not working within lookig-at:
>> I want to recognize any label of the form "label:" so I tested the
>> following against re-search-forward "^[ \t]*.*:" and it works.
>> However, the same into a looking-at call is not working, so how can I
>> find the following regexp?
>
> It does work for me.
>
> label:
>
> (looking-at "^[ \t]*.*:")
> => t
>
> --
> Bastien