Commit Graph

16 Commits

Author SHA1 Message Date
Xueming Shen
ff93896a39 7189363: Regex Pattern compilation buggy for special sequences
Fixed the incorrect implementation in expr(...)

Reviewed-by: psandoz, alanb
2012-08-09 10:15:26 -07:00
Xueming Shen
c8da8f2595 7014640: To add a metachar \R for line ending and character classes for vertical/horizontal ws \v \V \h \H
Added propsoed constructs

Reviewed-by: alanb
2012-05-08 10:57:13 -07:00
Xueming Shen
1f4653910f 7067045: replaceAll("\u20ac", "$"); causses java.lang.StringIndexOutOfBoundsExceptio
Updated to throw IAE instead.

Reviewed-by: lancea
2012-04-12 15:01:41 -07:00
Stephen Flores
a8ad56bd5c 6990617: Regular expression doesn't match if unicode character next to a digit
Updated RemoveQEQuotation() to deal with this case correctly

Reviewed-by: sherman
2011-12-19 14:14:14 -08:00
Xueming Shen
df7a03a4c3 7039066: j.u.rgex does not match TR18 RL1.4 Simple Word Boundaries and RL1.2 Properties
Updated the regex Unicode property support

Reviewed-by: alanb
2011-04-28 20:48:36 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Xueming Shen
6435c3ecac 7014645: Support perl style Unicode hex notation \x{...}
Added the construct \x{...} for Unicode hex notation support

Reviewed-by: alanb, okutsu
2011-02-03 13:49:25 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Lana Steuck
fd45b4188c Merge 2010-05-28 12:10:14 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Xueming Shen
bb2be852aa 6945564: Unicode script support in Character class
6948903: Make Unicode scripts available for use in regular expressions

Added Unicode script suport

Reviewed-by: martin
2010-05-18 15:36:47 -07:00
Xueming Shen
d0a7eafe8d 6931676: TEST_BUG: wrong value for bugid in comments
Update to the correct bugid

Reviewed-by: martin
2010-04-15 17:00:55 -07:00
Xueming Shen
9ff3b18578 6919132: Regex \P{Lu} selects half of a surrogate pari
To use StartS for complement category/block class

Reviewed-by: martin, okutsu
2010-02-05 00:10:42 -08:00
Xueming Shen
e5745ffc8c 6878475: Better syntax for the named capture group in regex
Updated the syntax of the newly added named capture group

Reviewed-by: martin, alanb
2009-10-21 11:40:40 -07:00
Xueming Shen
df65a88edb 6817475: named-capturing group name started with digit causes PSE exception
Need accept the digit as the first char of the group name

Reviewed-by: alanb
2009-03-20 16:22:59 -07:00
Xueming Shen
952857e682 6350801: Add support for named (instead of numbered) capture groups in regular expression
6676425: Opensource unit/regression tests for java.util.regex

Added "named capturing group" into regex. Moved most of reg/unit tests to openjdk.

Reviewed-by: alanb, okutsu
2009-02-23 21:06:15 -08:00