Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8037397 RegEx pattern matching loses character class after intersection (&&) operator
  3. JDK-8271077

Release Note: RegEx Pattern Matching Loses Character Class After Intersection (&&) Operator

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Verification:
      Verified

      Description

      This release fixes a buggy behavior in regular expression pattern intersection. In prior releases, if a nested character class were included in some intersections after the intersection (`&&`) operator, it would be ignored and not included in the generated matcher from the pattern. This change brings the behavior in line with the intersection regex patterns seen in Ruby.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: