31 Commits

Author SHA1 Message Date
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
f82e4b1b76 8235930: java.util.regex.PrintPattern does not print a link to the next node
Reviewed-by: martin
2019-12-15 09:33:50 -08:00
Ivan Gerasimov
844e811d56 8222684: Better support for patterns
8223163: Better pattern recognition

Reviewed-by: ahgross, bchristi, jeff, rhalade, rriggs, smarks
2019-05-22 19:41:59 -07:00
Julia Boes
d15a57b842 8231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: bchristi, lancea
2019-09-24 09:43:43 +01:00
Julia Boes
b15b322cf3 8230648: Replace @exception tag with @throws in java.base
Minor coding style update of javadoc tag in any file in java.base

Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01: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
Joe Darcy
9d764ee48e 8229997: Apply java.io.Serial annotations in java.base
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Ivan Gerasimov
d607548f20 8230338: Accurate error message about bad Unicode block name
Reviewed-by: rriggs
2019-08-29 07:39:06 -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
c9ca2c7a90 8224849: Flag (?U:...) is allowed for non-capturing groups
Reviewed-by: bchristi
2019-06-25 18:20:21 -07:00
Claes Redestad
a2f40ec3e1 8225179: (regex) Minor Pattern cleanup
Reviewed-by: igerasim
2019-06-05 10:07:22 +02:00
Ivan Gerasimov
90e6c1cc36 8225198: Optimize regex tree for greedy quantifiers of type {N,}
Reviewed-by: redestad, bchristi
2019-06-04 18:55:53 -07:00
Claes Redestad
1813ce706a 8225061: Performance regression in Regex
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Reviewed-by: naoto, alanb
2019-06-01 03:18:23 +02: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
218204b1a3 8223593: Refactor code for reallocating storage
Reviewed-by: prappo, plevart, rriggs, smarks
2019-05-21 18:40:29 -07:00
Ivan Gerasimov
b7ea7e93aa 8223174: Pattern.compile() can throw confusing NegativeArraySizeException
Reviewed-by: martin
2019-05-03 23:00:07 -07:00
Jonathan Gibbons
2df0f4b4dd 8220249: fix headings in java.compiler
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Claes Redestad
a3df1d618e 8215281: Use String.isEmpty() when applicable in java.base
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Roger Riggs
938b844088 8214971: Replace use of string.equals("") with isEmpty()
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Ivan Gerasimov
3cc36e427d 8211396: Broken link in javadoc for private java.util.regex.Pattern#normalize()
Reviewed-by: jjg, sherman
2018-10-10 10:56:24 -07:00
Xueming Shen
087ea6befb 8199547: Exception to Pattern Syntax
Reviewed-by: rriggs
2018-03-15 16:04:30 -07:00
Michal Vala
a30144440e 8190417: javadoc updates to java.util.regex.Matcher
Reviewed-by: lancea, alanb, dholmes
2018-06-01 12:28:19 -04:00
Xueming Shen
e1bffce5a3 8200172: String.split non-positive term incorrect use
Reviewed-by: darcy, lancea
2018-05-23 08:49:00 -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
Roger Riggs
2af1df8c10 8198645: Use System.lineSeparator() instead of getProperty("line.separator")
Reviewed-by: lancea, xuelei, sherman
2018-02-23 16:00:44 -05: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