about summary refs log tree commit diff
path: root/posix/rxspencer
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-01-08 00:47:30 +0000
committerUlrich Drepper <drepper@redhat.com>2009-01-08 00:47:30 +0000
commit76c7f2cd8a68653b4fd60c1f12bf0b8b824209f1 (patch)
tree7b00d01fa07a21540e5572aec060ce484be4f665 /posix/rxspencer
parentbdb56bacd57070eced9998569ffe3f3c37ef5964 (diff)
downloadglibc-76c7f2cd8a68653b4fd60c1f12bf0b8b824209f1.tar.gz
glibc-76c7f2cd8a68653b4fd60c1f12bf0b8b824209f1.tar.xz
glibc-76c7f2cd8a68653b4fd60c1f12bf0b8b824209f1.zip
	* posix/regexec.c (prune_impossible_nodes): Handle sifted_states[0]
	being NULL also if there are no backreferences.
	* posix/rxspencer/tests: Add testcases.
Diffstat (limited to 'posix/rxspencer')
-rw-r--r--posix/rxspencer/tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/rxspencer/tests b/posix/rxspencer/tests
index b84a270cda..3ad46e2a61 100644
--- a/posix/rxspencer/tests
+++ b/posix/rxspencer/tests
@@ -536,3 +536,7 @@ a.*\b	&	abT	ab
 \B	&	aSbTc
 \B	&	SaT	@SaT
 \B	&	aSTSb	@TSb
+
+o$($|.)	-	oN
+o$($|.)	-	op
+o$($|.)	-	o	o