[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regexp on emacs how to...
From: |
Nicolas Richard |
Subject: |
Re: regexp on emacs how to... |
Date: |
Wed, 10 Sep 2014 15:52:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) |
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
- Re: regexp on emacs how to..., (continued)
- Message not available
- Message not available
- Message not available
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/02
- Message not available
- Message not available
- Message not available
- Message not available
- Re: regexp on emacs how to..., renato . pontefice, 2014/09/03
- Re: regexp on emacs how to..., renato . pontefice, 2014/09/03
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/03
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/04
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/05
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/10
- Re: regexp on emacs how to..., Nicolas Richard, 2014/09/10
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/10
- Re: regexp on emacs how to...,
Nicolas Richard <=
- Message not available
- Re: regexp on emacs how to..., Renato Pontefice, 2014/09/11