bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] bugs in regexp.c


From: Sam Steingold
Subject: [bug-gnulib] bugs in regexp.c
Date: Mon, 07 Mar 2005 19:00:20 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

regexp.c exhibits the following 8 bugs:

1. regcomp("*a"): "Invalid preceding regular expression"
2. regcomp("^*"): "Invalid preceding regular expression"
3. regcomp("$*"): "Invalid preceding regular expression"
4. regcomp("(*)b"): "Invalid preceding regular expression"
5. regcomp("{[^}\n]*}"): "Invalid content of \\{\\}"
6. regcomp("{[^}\n]*}"): "Invalid content of \\{\\}"
7. regcomp ("{[^}\n]*}"): "Invalid content of \\{\\}"

8. regcomp("[[:xdigit]+") works, but when the result is matched against
   "0[x:dig", it matches just "[", not "[x:dig"

bugs discovered by the CLISP regexp test suite.


-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.memri.org/> <http://www.honestreporting.com>
<http://pmw.org.il/> <http://www.iris.org.il> <http://www.mideasttruth.com/>
The early bird may get the worm, but the second mouse gets the cheese.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]