regexp: initial support for named unicode characters (IDEA-156407)

This commit is contained in:
Bas Leijdekkers
2016-08-26 14:17:16 +02:00
parent 6c6ca51ffe
commit b79d5cf058
15 changed files with 387 additions and 231 deletions

View File

@@ -238,6 +238,7 @@ public class RegExpParsingTest extends ParsingTestCase {
public void testNamedchars10() throws IOException { doCodeTest("\\p{unknown}+"); }
public void testNamedchars11() throws IOException { doCodeTest("[:^xdigit:]+"); }
public void testNamedchars12() throws IOException { doCodeTest("\\p{InArabic Extended-A}"); }
public void testNamedchars13() throws IOException { doCodeTest("\\N{Mahjong Tile Winter}"); }
public void testBackrefs1() throws IOException { doCodeTest("(ac*)c*d[ac]*\\1"); }
public void testBackrefs2() throws IOException { doCodeTest("(.)=\\1"); }