Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264160 Regex \b is not consistent with \w without UNICODE_CHARACTER_CLASS
  3. JDK-8291577

Release Note: Regex \b Character Class now Matches ASCII Characters Only by Default

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Delivered
    • P4
    • 19
    • 19
    • core-libs

    Description

      The `\b` metacharacter now matches ASCII word characters by default in the same way that the `\w` metacharacter does. For `\b` to match Unicode characters, the UNICODE_CHARACTER_CLASS must be set in the same way that it would need to be set for `\w` to match Unicode characters.

      Attachments

        Activity

          People

            igraves Ian Graves
            igraves Ian Graves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: