🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3661

GNU emacs 18.30 regex bug (and others)

#3661
From: Chet Murthy
Date: Tue, 02 Dec 1986 03:18
30 lines
1424 bytes
Hi.  I have gotten a version of GNUemacs (18.30) running on an RT, by deleting
the inc-vers stage of the build.  The execution of the regular expression
search in inc-vers.el caused temacs to core dump. I have generated several
regular expressions that cause errors that should not be errors, or core
dumps.

The current buffer is a single character, "a", and the point is _before_ the
"a", at the beginning of the buffer.

re-search-forward was executed with the following patterns:
Pat	result
a	success
a*	failure
[^b]	success
[^b]*	core dump

In addition, the -Dtest feature of regex.c core dumped for "a*" also.

Does anybody out there know what is wrong?


-- 
	--chet--
In Real Life:		Chet Murthy
ARPA:			murthy@svax.cs.cornell.edu
SnailMail:		Chet Murthy
			Gaslight Village Apts 21-B
			Uptown Road
			Ithaca, NY 14850
MaBellNet:		(607)-257-5709
Technical Details
Message-ID: <780@svax.cs.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!svax!murthy

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!cornell!svax!murthy
From: murthy@svax.cs.cornell.edu (Chet Murthy)
Newsgroups: comp.emacs
Subject: GNU emacs 18.30 regex bug (and others)
Message-ID: <780@svax.cs.cornell.edu>
Date: Mon, 1-Dec-86 22:18:48 EST
Article-I.D.: svax.780
Posted: Mon Dec  1 22:18:48 1986
Date-Received: Tue, 2-Dec-86 04:33:06 EST
Reply-To: murthy@svax.cs.cornell.edu (Chet Murthy)
Distribution: comp
Organization: Cornell Univ. CS Dept, Ithaca NY
Lines: 30