GNU bug report logs - #21279
24.4; (match-end 0) doesn't always return nil when previous string-match fails

Previous Next

Package: emacs;

Reported by: Ernesto Alfonso <erjoalgo <at> gmail.com>

Date: Mon, 17 Aug 2015 06:27:02 UTC

Severity: minor

Found in version 24.4

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21279 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Ernesto Alfonso <erjoalgo <at> gmail.com>
Cc: 21279 <at> debbugs.gnu.org
Subject: Re: bug#21279: 24.4;
 (match-end 0) doesn't always return nil when previous string-match
 fails
Date: Mon, 17 Aug 2015 09:26:39 +0200
Ernesto Alfonso <erjoalgo <at> gmail.com> writes:

> (match-end 0) doesn't always return nil when previous string-match fails:

A failing match doesn't set match-data.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




This bug report was last modified 10 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.