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

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

Re: How to properly parse a buffer into a list ?


From: Ralf Fassel
Subject: Re: How to properly parse a buffer into a list ?
Date: Mon, 11 Jun 2012 15:21:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

* Philippe M. Coatmeur <philippe.coatmeur@gmail.com>
| But it always returns "string not found" (when I explicitly run
| (re-search-forward "|_|") in said buffer it founds it)

I'd guess the try after the last match returns the error.
Try using the 'noerror' flag of 're-search-forward' (or plain
'search-forward', since you're not using regexps anyway-).

R'


reply via email to

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