JDK-6195181 : Regex pattern for CASE_INSENSITIVE/range CharacterClass/negation does not work correctly
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.regex
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-11-15
  • Updated: 2010-08-06
  • Resolved: 2004-12-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0u2 b04Fixed
Description
Pattern for case_sensitive/character class range/negation does not work
from 1.5, for example [^a-z] matches anything. Severe regression of basic functionality.
###@###.### 2004-11-15 01:54:30 GMT

Comments
EVALUATION Fix for bug #4900747.4908476 added a constructor CINotRange (int lower, int upper) { super(lower, upper) } for CINotRange class, unfortunately this does not work as expected, "lower" and "upper" are dreefined in this class, they will never be inited. ###@###.### 2004-11-15 01:54:30 GMT
15-11-2004