about summary refs log tree commit diff
path: root/posix/rxspencer
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-02-22 05:07:20 +0000
committerUlrich Drepper <drepper@redhat.com>2005-02-22 05:07:20 +0000
commit744eb12b7b0aa4ea0543e8dfd21b49bb5309bf93 (patch)
tree1070955160a5ef90fe2144ded572b6147e91501f /posix/rxspencer
parente13e33e279e193191e06811cb7ae3518d7acad1a (diff)
downloadglibc-744eb12b7b0aa4ea0543e8dfd21b49bb5309bf93.tar.gz
glibc-744eb12b7b0aa4ea0543e8dfd21b49bb5309bf93.tar.xz
glibc-744eb12b7b0aa4ea0543e8dfd21b49bb5309bf93.zip
* posix/regcomp.c (lower_subexp): Do not optimize empty
	subexpressions even with REG_NOSUB.
	* posix/rxspencer/tests: Add a previously failing testcase.
Diffstat (limited to 'posix/rxspencer')
-rw-r--r--posix/rxspencer/tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/rxspencer/tests b/posix/rxspencer/tests
index a8b6e4baa8..b84a270cda 100644
--- a/posix/rxspencer/tests
+++ b/posix/rxspencer/tests
@@ -376,6 +376,7 @@ a(b?c)+d	-	accd	accd
 a[bc]d		-	xyzaaabcaababdacd	abd
 a[ab]c		-	aaabc	abc
 abc		s	abc	abc
+()		s	abc	@abc
 a*		&	b	@b
 
 # Let's have some fun -- try to match a C comment.