Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8214245 Case insensitive matching doesn't work correctly for some character classes
  3. JDK-8239887

Release Note: Case insensitive matching doesn't work correctly for some character classes

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-libs

      Description

      Java regular expression engine supports the case insensitive mode. When this mode is turned on, the engine is supposed to match the input text without regard to the case of the characters it consists of.

      However, the current implementation of matching against some named character classes (those that are encoded with \p{name} or \P{name} constructs) fail to respect the case insensitive mode.

      The fix will make these character classes to behave consistently with respect to the case sensitivity. When the regular expression engine operates in the case insensitive mode, the named character classes will match the input characters without regard to their case: lower case, upper case or title case.

        Attachments

          Activity

            People

            • Assignee:
              igerasim Ivan Gerasimov (Inactive)
              Reporter:
              igerasim Ivan Gerasimov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: