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

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

Re: regexp on emacs how to...


From: Renato Pontefice
Subject: Re: regexp on emacs how to...
Date: Thu, 11 Sep 2014 00:29:15 -0700 (PDT)
User-agent: G2/1.0

Il giorno mercoledì 10 settembre 2014 15:52:53 UTC+2, Nicolas Richard ha 
scritto:
> Hello Renato,
> 
> 
> 
> Renato Pontefice <renato.pontefice@gmail.com> writes:
> 
> > Yes. From the beginning! it give me:
> 
> > trailing garbage following expression
> 
> >
> 
> > in that line: "   (search-forward "[-" nil 'move)))"
> 
> >
> 
> > do the ' character is correct?
> 
> 
> 
> It is. There is however one paren that should be else where. I guess I
> 
> copy-pasted too hastily. Here's a corrected version:
> 
> 
> 
> (while (and (not (eobp))
> 
>             (search-forward "[-" nil 'move))
> 
>   (skip-chars-forward "A-Z")
> 
>   (unless (looking-at "-]")
> 
>     (message "Problem found, please fix and hit C-M-c to continue")
> 
>     (recursive-edit)))
> 
> 
> 
> -- 
> 
> Nicolas Richard

Hi Nicolas,
yes...it works...:-(
I see the ' char and I don't see the third parenthesis...:-(

Thank you

Renato


reply via email to

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