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

Case insensitive regexes for supplementary characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      Raised in the jdk-dev ml:
      https://mail.openjdk.java.net/pipermail/jdk-dev/2020-September/004727.html

      ---
      For scripts Deseret, Osage, Old Hungarian, Warang Citi,
      Medefaidrin, and Adlam, for strings with upper- and
      lowercase variants of the same letter, the following
      code fails:

      Pattern pattern = Pattern.compile(lower, Pattern.CASE_INSENSITIVE);
      Matcher matcher = pattern.matcher(upper);
      assertThat(matcher.matches()).isTrue();

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: