[comp.emacs] GNU emacs 18.30 regex bug

murthy@svax.cs.cornell.edu (Chet Murthy) (12/02/86)

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