ASF Bugzilla – Attachment 1395 Details for
Bug 7288
Bug in negative character ranges
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
suggested fix and updated test cases [2]
ranges.patch (text/plain), 864 bytes, created by
Sascha Weinreuter
on 2002-03-20 16:16:24 UTC
(
hide
)
Description:
suggested fix and updated test cases [2]
Filename:
MIME Type:
Creator:
Sascha Weinreuter
Created:
2002-03-20 16:16:24 UTC
Size:
864 bytes
patch
obsolete
>--- src/java/org/apache/regexp/RECompiler.java.ORIG Thu Mar 14 06:41:14 2002 >+++ src/java/org/apache/regexp/RECompiler.java Wed Mar 20 15:47:45 2002 >@@ -1453,11 +1453,11 @@ > int minr = minRange[i]; > int maxr = maxRange[i]; > delete(i); >- if (minr < min - 1) >+ if (minr < min) > { > merge(minr, min - 1); > } >- if (max + 1 < maxr) >+ if (max < maxr) > { > merge(max + 1, maxr); > } >--- docs/RETest.txt.ORIG Wed Mar 20 15:49:20 2002 >+++ docs/RETest.txt Wed Mar 20 15:41:02 2002 >@@ -1011,3 +1011,16 @@ > YES > aaabc > >+ >+#168 >+[^ac]+ >+bd >+YES >+bd >+ >+#169 >+[^ca]+ >+bd >+YES >+bd >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7288
:
1394
| 1395