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

[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 <address@hidden> wrote:
> Hi Luca,
>
> Luca Ferrari <address@hidden> 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



reply via email to

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