Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8272795

Trailing \\E may be omitted from a literal-text span in regex

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None

      Description

      For example, "abc\\Qdef" is equivalent to "abc\\Qdef\\E". Clarifying this in java.util.regex.Pattern will require a CSR.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              prappo Pavel Rappo
              Reporter:
              prappo Pavel Rappo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: