RFR: 8037397: Lost nested character class after intersection &&

Ian Graves igraves at openjdk.java.net
Wed Mar 31 20:45:32 UTC 2021


Bug fix with the intersection `&&` operator in regex patterns. In JDK-8037397, some character classes on the right hand side of the operator are dropped in cases where nested `[..]` classes are used with non "nested" ones.

-------------

Commit messages:
 - Fixing a regex intersection bug that drops expressions on the right hand side

Changes: https://git.openjdk.java.net/jdk/pull/3291/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3291&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8037397
  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3291.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3291/head:pull/3291

PR: https://git.openjdk.java.net/jdk/pull/3291


More information about the core-libs-dev mailing list