Commit Graph

43 Commits

Author SHA1 Message Date
Cristian Vat
32efd23c5d 8311939: Excessive allocation of Matcher.groups array
Reviewed-by: rriggs, igraves
2023-08-17 11:27:39 +00:00
Raffaello Giulietti
61c58fdd00 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: alanb, smarks
2023-08-04 07:11:18 +00:00
Raffaello Giulietti
90027ff204 8309515: Stale cached data from Matcher.namedGroups() after Matcher.usePattern()
Reviewed-by: rriggs
2023-06-07 21:39:53 +00:00
Raffaello Giulietti
25868b95ee 8132995: Matcher$ImmutableMatchResult should be optimized to reduce space usage
Reviewed-by: redestad, smarks
2023-05-19 08:04:32 +00:00
Raffaello Giulietti
93ee19f58a 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
2023-05-08 14:51:35 +00:00
Naoto Sato
ee3023359c 8305107: Emoji related binary properties in RegEx
Reviewed-by: iris, rriggs, jpai
2023-04-05 16:04:27 +00:00
Matthias Baesken
c2e3d72848 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows
Reviewed-by: mdoerr, alanb
2022-12-30 07:43:32 +00:00
Jaikiran Pai
0ce182723b 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: alanb, lancea, dfuchs
2022-11-30 00:37:31 +00:00
Naoto Sato
590de37bd7 8284842: Update Unicode Data Files to Version 15.0.0
8284844: Update ICU4J to Version 72.1

Reviewed-by: joehw
2022-10-31 17:57:30 +00:00
Raffaello Giulietti
ce85cac947 8065554: MatchResult should provide values of named-capturing groups
Reviewed-by: smarks
2022-09-29 09:16:21 +00:00
Naoto Sato
b8598b0297 8291660: Grapheme support in BreakIterator
Reviewed-by: smarks
2022-09-09 17:13:51 +00:00
Andrey Turbanov
48c7549806 8284853: Fix various 'expected' typo
Reviewed-by: bpb, ihse
2022-04-14 18:05:49 +00:00
Ian Graves
f01cce235b 8264160: Regex \b is not consistent with \w without UNICODE_CHARACTER_CLASS
Reviewed-by: lancea, bpb, naoto
2022-03-29 00:01:57 +00:00
Ian Graves
3fc009be8a 8281560: Matcher.hitEnd returns unexpected results in presence of CANON_EQ flag.
Reviewed-by: rriggs, lancea
2022-03-08 16:32:18 +00:00
Ian Graves
3cb38678aa 8281315: Unicode, (?i) flag and backreference throwing IndexOutOfBounds Exception
Reviewed-by: naoto
2022-02-22 16:31:57 +00:00
Ian Graves
e3076552ec 8280403: RegEx: String.split can fail with NPE in Pattern.CharPredicate::match
Reviewed-by: lancea, iris, naoto, rriggs
2022-01-24 22:21:22 +00:00
Masanori Yano
3aaa0982d8 8276694: Pattern trailing unescaped backslash causes internal error
Reviewed-by: jlaskey
2022-01-11 22:37:15 +00:00
David Holmes
c54a918a0e 8273691: Missing comma after 2021 in GraphemeTestAccessor.java copyright notice
Reviewed-by: psandoz
2021-09-14 01:01:07 +00:00
Ian Graves
3d9dc8f824 8273430: Suspicious duplicate condition in java.util.regex.Grapheme#isExcludedSpacingMark
Reviewed-by: naoto
2021-09-13 21:48:28 +00:00
bobpengxie
683e30db79 8273169: java/util/regex/NegativeArraySize.java failed after JDK-8271302
Reviewed-by: jiefu, serb
2021-08-31 17:31:03 +00:00
Ian Graves
fecefb8541 8271302: Regex Test Refresh
Reviewed-by: bchristi, smarks
2021-08-30 17:37:29 +00:00
Ian Graves
bb508e1303 8269753: Misplaced caret in PatternSyntaxException's detail message
Reviewed-by: prappo
2021-07-27 02:25:30 +00:00
Ian Graves
b337f63361 8037397: RegEx pattern matching loses character class after intersection (&&) operator
Reviewed-by: rriggs
2021-04-21 15:45:52 +00:00
Martin Buchholz
351d788809 8259074: regex benchmarks and tests
Reviewed-by: redestad
2021-02-08 18:09:59 +00:00
Stuart Marks
cbc3feeb89 8258259: Unicode linebreak matching behavior is incorrect; backout JDK-8235812
Reviewed-by: naoto
2020-12-18 00:36:33 +00:00
Naoto Sato
4946a162aa 8247546: Pattern matching does not skip correctly over supplementary characters
Reviewed-by: joehw
2020-07-29 09:49:43 -07:00
Naoto Sato
80c75c9fa9 8239383: Support for Unicode 13.0
Reviewed-by: rriggs, joehw
2020-05-13 15:46:08 -07:00
Philipp Kunz
455eaca215 8241055: Regex Grapheme Matcher Performance Depends too much on Total Input Sequence Size
Reviewed-by: naoto
2020-04-16 16:09:47 -07:00
Ivan Gerasimov
d1b506597f 8237599: Greedy matching against supplementary chars fails to respect the region
Reviewed-by: rriggs
2020-03-25 08:46:31 -07:00
Ivan Gerasimov
1d4a4fed43 8214245: Case insensitive matching doesn't work correctly for some character classes
Reviewed-by: rriggs, darcy
2020-03-18 01:04:22 -07:00
Naoto Sato
eeaafbe141 8216332: Grapheme regex does not work with emoji sequences
Reviewed-by: rriggs
2020-03-12 08:31:26 -07:00
Ivan Gerasimov
987be2bb6d 8235812: Unicode linebreak with quantifier does not match valid input
Reviewed-by: rriggs
2020-02-10 16:10:45 -08:00
Ivan Gerasimov
6f7f81f794 8236034: Use optimized Ques node for curly {0,1} quantifier
Reviewed-by: rriggs
2020-01-21 17:52:55 -08:00
Ivan Gerasimov
5e7e0e7bbe 8230829: Matcher matches a surrogate pair that crosses border of the region
Reviewed-by: naoto
2019-09-12 11:07:35 -07:00
Ivan Gerasimov
66dc6cf25b 8228352: CANON_EQ breaks when pattern contains supplementary codepoint
Reviewed-by: naoto
2019-08-01 07:14:03 -07:00
Ivan Gerasimov
f5e2916507 8224789: Parsing repetition count in regex does not detect numeric overflow
Reviewed-by: rriggs, bchristi
2019-05-29 13:44:27 -07:00
Naoto Sato
93fabcdc5a 8221431: Support for Unicode 12.1
Reviewed-by: erikj, rriggs
2019-05-23 12:21:21 -07:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Vivek Theeyarath
97979a53a1 8184692: add Pattern.asMatchPredicate
Reviewed-by: psandoz, rriggs
2018-04-16 11:21:32 -07:00
Vivek Theeyarath
824df1c125 8164781: Pattern.asPredicate specification is incomplete
Updated specification to reflect usage of find()

Reviewed-by: psandoz
2018-04-09 10:39:29 -07:00
Ivan Gerasimov
7d7c653abf 8197462: Inconsistent exception messages for invalid capturing group names
8179608: Error in comment in Pattern.java

Reviewed-by: sherman
2018-02-12 21:06:06 -08:00
Xueming Shen
b69a95d78d 8194667: Regex: Serialization doesn't work with match flags
Reviewed-by: rriggs
2018-01-12 14:05:42 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00