author | michaelm |
Fri, 02 Oct 2009 13:57:41 +0100 | |
changeset 3952 | dc329398de30 |
parent 2070 | 6e9972fbd965 |
child 5506 | 202f599c92aa |
permissions | -rw-r--r-- |
2070
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
1 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
2 |
// Copyright 1999-2009 Sun Microsystems, Inc. All Rights Reserved. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
3 |
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
4 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
5 |
// This code is free software; you can redistribute it and/or modify it |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
6 |
// under the terms of the GNU General Public License version 2 only, as |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
7 |
// published by the Free Software Foundation. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
8 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
9 |
// This code is distributed in the hope that it will be useful, but WITHOUT |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
10 |
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
11 |
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
12 |
// version 2 for more details (a copy is included in the LICENSE file that |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
13 |
// accompanied this code). |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
14 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
15 |
// You should have received a copy of the GNU General Public License version |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
16 |
// 2 along with this work; if not, write to the Free Software Foundation, |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
17 |
// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
18 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
19 |
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
20 |
// CA 95054 USA or visit www.sun.com if you need additional information or |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
21 |
// have any questions. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
22 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
23 |
// |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
24 |
// This file contains test cases with BMP characters for regular expressions. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
25 |
// A test case consists of three lines: |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
26 |
// The first line is a pattern used in the test |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
27 |
// The second line is the input to search for the pattern in |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
28 |
// The third line is a concatentation of the match, the number of groups, |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
29 |
// and the contents of the first four subexpressions. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
30 |
// Empty lines and lines beginning with comment slashes are ignored. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
31 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
32 |
// Test unsetting of backed off groups |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
33 |
^(\u3042)?\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
34 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
35 |
true \u3042 1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
36 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
37 |
^(\u3042\u3042(\u3043\u3043)?)+$ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
38 |
\u3042\u3042\u3043\u3043\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
39 |
true \u3042\u3042\u3043\u3043\u3042\u3042 2 \u3042\u3042 \u3043\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
40 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
41 |
((\u3042|\u3043)?\u3043)+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
42 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
43 |
true \u3043 2 \u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
44 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
45 |
(\u3042\u3042\u3042)?\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
46 |
\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
47 |
true \u3042\u3042\u3042 1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
48 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
49 |
^(\u3042(\u3043)?)+$ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
50 |
\u3042\u3043\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
51 |
true \u3042\u3043\u3042 2 \u3042 \u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
52 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
53 |
^(\u3042(\u3043(\u3044)?)?)?\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
54 |
\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
55 |
true \u3042\u3043\u3044 3 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
56 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
57 |
^(\u3042(\u3043(\u3044))).* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
58 |
\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
59 |
true \u3042\u3043\u3044 3 \u3042\u3043\u3044 \u3043\u3044 \u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
60 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
61 |
// use of x modifier |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
62 |
\u3042\u3043\u3044(?x)\u3043la\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
63 |
\u3042\u3043\u3044\u3043la\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
64 |
true \u3042\u3043\u3044\u3043la\u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
65 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
66 |
\u3042\u3043\u3044(?x) bla\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
67 |
\u3042\u3043\u3044bla\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
68 |
true \u3042\u3043\u3044bla\u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
69 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
70 |
\u3042\u3043\u3044(?x) bla\u3049 ble\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
71 |
\u3042\u3043\u3044bla\u3049ble\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
72 |
true \u3042\u3043\u3044bla\u3049ble\u3044\u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
73 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
74 |
\u3042\u3043\u3044(?x) bla\u3049 # ignore comment |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
75 |
\u3042\u3043\u3044bla\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
76 |
true \u3042\u3043\u3044bla\u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
77 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
78 |
// Simple alternation |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
79 |
\u3042|\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
80 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
81 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
82 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
83 |
\u3042|\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
84 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
85 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
86 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
87 |
\u3042|\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
88 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
89 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
90 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
91 |
\u3042|\u3043|\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
92 |
\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
93 |
true \u3044\u3045 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
94 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
95 |
\u3042|\u3042\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
96 |
\u3042\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
97 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
98 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
99 |
\u305B(\u3042|\u3042\u3044)\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
100 |
\u305B\u3042\u3044\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
101 |
true \u305B\u3042\u3044\u3043 1 \u3042\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
102 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
103 |
// Simple char class |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
104 |
[\u3042\u3043\u3044]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
105 |
\u3042\u3043\u3042\u3043\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
106 |
true \u3042\u3043\u3042\u3043\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
107 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
108 |
[\u3042\u3043\u3044]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
109 |
\u3045\u3046\u3047\u3048 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
110 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
111 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
112 |
[\u3042\u3043\u3044]+[\u3045\u3046\u3047]+[\u3048\u3049\u304A]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
113 |
\u305B\u305B\u305B\u3042\u3042\u3045\u3045\u3048\u3048\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
114 |
true \u3042\u3042\u3045\u3045\u3048\u3048 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
115 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
116 |
// Range char class |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
117 |
[\u3042-\u3048]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
118 |
\u305B\u305B\u305B\u3048\u3048\u3048 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
119 |
true \u3048\u3048\u3048 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
120 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
121 |
[\u3042-\u3048]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
122 |
mmm |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
123 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
124 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
125 |
[\u3042-]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
126 |
\u305B\u3042-9\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
127 |
true \u3042- 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
128 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
129 |
[\u3042-\\u4444]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
130 |
\u305B\u3042-9\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
131 |
true \u305B\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
132 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
133 |
// Negated char class |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
134 |
[^\u3042\u3043\u3044]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
135 |
\u3042\u3043\u3042\u3043\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
136 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
137 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
138 |
[^\u3042\u3043\u3044]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
139 |
\u3042\u3042\u3042\u3043\u3043\u3043\u3044\u3044\u3044\u3045\u3046\u3047\u3048 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
140 |
true \u3045\u3046\u3047\u3048 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
141 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
142 |
// Making sure a ^ not in first position matches literal ^ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
143 |
[\u3042\u3043\u3044^\u3043] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
144 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
145 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
146 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
147 |
[\u3042\u3043\u3044^\u3043] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
148 |
^ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
149 |
true ^ 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
150 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
151 |
// Class union and intersection |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
152 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
153 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
154 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
155 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
156 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
157 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
158 |
true \u3046 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
159 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
160 |
[\u3042-\u3045[0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
161 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
162 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
163 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
164 |
[\u3042-\u3045[0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
165 |
\u3050 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
166 |
true \u3050 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
167 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
168 |
[\u3042-\u3045[0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
169 |
4 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
170 |
true 4 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
171 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
172 |
[\u3042-\u3045[0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
173 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
174 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
175 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
176 |
[\u3042-\u3045[0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
177 |
\u3056 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
178 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
179 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
180 |
[[\u3042-\u3045][0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
181 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
182 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
183 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
184 |
[[\u3042-\u3045][0-9][\u304e-\u3051]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
185 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
186 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
187 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
188 |
[\u3042-\u3044[\u3045-\u3047[\u3048-\u304A]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
189 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
190 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
191 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
192 |
[\u3042-\u3044[\u3045-\u3047[\u3048-\u304A]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
193 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
194 |
true \u3046 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
195 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
196 |
[\u3042-\u3044[\u3045-\u3047[\u3048-\u304A]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
197 |
\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
198 |
true \u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
199 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
200 |
[\u3042-\u3044[\u3045-\u3047[\u3048-\u304A]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
201 |
m |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
202 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
203 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
204 |
[\u3042-\u3044[\u3045-\u3047[\u3048-\u304A]]m] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
205 |
m |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
206 |
true m 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
207 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
208 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
209 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
210 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
211 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
212 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
213 |
\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
214 |
true \u3045 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
215 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
216 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
217 |
\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
218 |
true \u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
219 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
220 |
[\u3042\u3043\u3044[\u3045\u3046\u3047]\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
221 |
w |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
222 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
223 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
224 |
[\u3042-\u3044&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
225 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
226 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
227 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
228 |
[\u3042-\u3044&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
229 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
230 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
231 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
232 |
[\u3042-\u3044&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
233 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
234 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
235 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
236 |
[[\u3042-\u3044]&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
237 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
238 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
239 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
240 |
[[\u3042-\u3044]&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
241 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
242 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
243 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
244 |
[[\u3042-\u3044]&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
245 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
246 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
247 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
248 |
[\u3042-\u3044&&\u3045-\u3047] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
249 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
250 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
251 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
252 |
[\u3042-\u304e&&\u304e-\u305B] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
253 |
\u304e |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
254 |
true \u304e 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
255 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
256 |
[\u3042-\u304e&&\u304e-\u305B&&\u3042-\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
257 |
\u304e |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
258 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
259 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
260 |
[\u3042-\u304e&&\u304e-\u305B&&\u3042-\u305B] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
261 |
\u304e |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
262 |
true \u304e 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
263 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
264 |
[[\u3042-\u304e]&&[\u304e-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
265 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
266 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
267 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
268 |
[[\u3042-\u304e]&&[\u304e-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
269 |
\u304e |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
270 |
true \u304e 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
271 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
272 |
[[\u3042-\u304e]&&[\u304e-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
273 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
274 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
275 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
276 |
[[\u3042-\u304e]&&[^\u3042-\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
277 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
278 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
279 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
280 |
[[\u3042-\u304e]&&[^\u3042-\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
281 |
\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
282 |
true \u3045 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
283 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
284 |
[\u3042-\u304e&&[^\u3042-\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
285 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
286 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
287 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
288 |
[\u3042-\u304e&&[^\u3042-\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
289 |
\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
290 |
true \u3045 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
291 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
292 |
[\u3042-\u3044\u3045-\u3047&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
293 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
294 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
295 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
296 |
[\u3042-\u3044\u3045-\u3047&&[\u3045-\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
297 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
298 |
true \u3046 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
299 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
300 |
[[\u3042-\u3044]&&\u3045-\u3047\u3042-\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
301 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
302 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
303 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
304 |
[[\u3042-\u3044]&&[\u3045-\u3047][\u3042-\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
305 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
306 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
307 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
308 |
[[\u3042-\u3044][\u3045-\u3047]&&\u3042\u3043\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
309 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
310 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
311 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
312 |
[[\u3042-\u3044][\u3045-\u3047]&&\u3042\u3043\u3044[\u3045\u3046\u3047]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
313 |
\u3046 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
314 |
true \u3046 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
315 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
316 |
[[\u3042-\u3044]&&[\u3043-\u3045]&&[\u3044-\u3046]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
317 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
318 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
319 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
320 |
[[\u3042-\u3044]&&[\u3043-\u3045]&&[\u3044-\u3046]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
321 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
322 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
323 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
324 |
[[\u3042-\u3044]&&[\u3043-\u3045][\u3044-\u3046]&&[\u3056-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
325 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
326 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
327 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
328 |
[\u3042\u3043\u3044[^\u3043\u3044\u3045]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
329 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
330 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
331 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
332 |
[\u3042\u3043\u3044[^\u3043\u3044\u3045]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
333 |
\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
334 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
335 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
336 |
[\u3042-\u3044&&\u3042-\u3045&&\u3042-\u3046\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
337 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
338 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
339 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
340 |
[\u3042-\u3044&&\u3042-\u3045&&\u3042-\u3046\u3048\u3049\u304A] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
341 |
\u3048 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
342 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
343 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
344 |
[[\u3042[\u3043]]&&[\u3043[\u3042]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
345 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
346 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
347 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
348 |
[[\u3042]&&[\u3043][\u3044][\u3042]&&[^\u3045]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
349 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
350 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
351 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
352 |
[[\u3042]&&[b][c][\u3042]&&[^d]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
353 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
354 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
355 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
356 |
[[\u3042]&&[\u3043][\u3044][\u3042]&&[^\u3045]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
357 |
\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
358 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
359 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
360 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
361 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
362 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
363 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
364 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
365 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
366 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
367 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
368 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]&&[\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
369 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
370 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
371 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
372 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]&&[\u3044]&&\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
373 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
374 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
375 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
376 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]&&[\u3044]&&\u3044&&\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
377 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
378 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
379 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
380 |
[[[\u3042-\u3045]&&[\u3044-\u3047]]&&[\u3044]&&\u3044&&[\u3044\u3045\u3046]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
381 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
382 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
383 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
384 |
[\u305B[\u3042\u3043\u3044&&\u3043\u3044\u3045]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
385 |
\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
386 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
387 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
388 |
[\u305B[\u3042\u3043\u3044&&\u3043\u3044\u3045]&&[\u3056-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
389 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
390 |
true \u305B 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
391 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
392 |
[\u3059[\u3042\u3043\u3044&&\u3043\u3044\u3045[\u305B]]&&[\u3056-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
393 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
394 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
395 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
396 |
[\u3059[[w\u305B]\u3042\u3043\u3044&&\u3043\u3044\u3045[\u305B]]&&[\u3056-\u305B]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
397 |
\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
398 |
true \u305B 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
399 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
400 |
[[\u3042\u3043\u3044]&&[\u3045\u3046\u3047]\u3042\u3043\u3044] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
401 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
402 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
403 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
404 |
[[\u3042\u3043\u3044]&&[\u3045\u3046\u3047]\u3059\u305A\u305B[\u3042\u3043\u3044]] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
405 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
406 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
407 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
408 |
\pL |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
409 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
410 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
411 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
412 |
\pL |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
413 |
7 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
414 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
415 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
416 |
\p{L} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
417 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
418 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
419 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
420 |
\p{IsL} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
421 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
422 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
423 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
424 |
\p{InHiragana} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
425 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
426 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
427 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
428 |
\p{InHiragana} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
429 |
\u0370 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
430 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
431 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
432 |
\pL\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
433 |
\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
434 |
true \u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
435 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
436 |
\u3042[r\p{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
437 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
438 |
true \u3042\u0370\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
439 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
440 |
\u3042\p{InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
441 |
\u3042\u0370 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
442 |
true \u3042\u0370 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
443 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
444 |
\u3042\P{InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
445 |
\u3042\u0370 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
446 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
447 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
448 |
\u3042\P{InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
449 |
\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
450 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
451 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
452 |
\u3042{^InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
453 |
- |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
454 |
error |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
455 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
456 |
\u3042\p{^InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
457 |
- |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
458 |
error |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
459 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
460 |
\u3042\P{^InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
461 |
- |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
462 |
error |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
463 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
464 |
\u3042\p{InGreek} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
465 |
\u3042\u0370 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
466 |
true \u3042\u0370 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
467 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
468 |
\u3042[\p{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
469 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
470 |
true \u3042\u0370\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
471 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
472 |
\u3042[\P{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
473 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
474 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
475 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
476 |
\u3042[\P{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
477 |
\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
478 |
true \u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
479 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
480 |
\u3042[{^InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
481 |
\u3042n\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
482 |
true \u3042n\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
483 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
484 |
\u3042[{^InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
485 |
\u3042\u305B\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
486 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
487 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
488 |
\u3042[\p{^InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
489 |
- |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
490 |
error |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
491 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
492 |
\u3042[\P{^InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
493 |
- |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
494 |
error |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
495 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
496 |
\u3042[\p{InGreek}] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
497 |
\u3042\u0370 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
498 |
true \u3042\u0370 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
499 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
500 |
\u3042[r\p{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
501 |
\u3042r\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
502 |
true \u3042r\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
503 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
504 |
\u3042[\p{InGreek}r]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
505 |
\u3042r\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
506 |
true \u3042r\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
507 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
508 |
\u3042[r\p{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
509 |
\u3042r\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
510 |
true \u3042r\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
511 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
512 |
\u3042[^\p{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
513 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
514 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
515 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
516 |
\u3042[^\P{InGreek}]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
517 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
518 |
true \u3042\u0370\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
519 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
520 |
\u3042[\p{InGreek}&&[^\u0370]]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
521 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
522 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
523 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
524 |
// Test the dot metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
525 |
\u3042.\u3044.+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
526 |
\u3042#\u3044%& |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
527 |
true \u3042#\u3044%& 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
528 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
529 |
\u3042\u3043. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
530 |
\u3042\u3043\n |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
531 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
532 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
533 |
(?s)\u3042\u3043. |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
534 |
\u3042\u3043\n |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
535 |
true \u3042\u3043\n 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
536 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
537 |
\u3042[\p{L}&&[\P{InGreek}]]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
538 |
\u3042\u6000\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
539 |
true \u3042\u6000\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
540 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
541 |
\u3042[\p{L}&&[\P{InGreek}]]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
542 |
\u3042r\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
543 |
true \u3042r\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
544 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
545 |
\u3042[\p{L}&&[\P{InGreek}]]\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
546 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
547 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
548 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
549 |
\u3042\p{InGreek}\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
550 |
\u3042\u0370\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
551 |
true \u3042\u0370\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
552 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
553 |
\u3042\p{Sc} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
554 |
\u3042$ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
555 |
true \u3042$ 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
556 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
557 |
\W\w\W |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
558 |
rrrr#\u3048\u3048\u3048 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
559 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
560 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
561 |
\u3042\u3043\u3044[\s\u3045\u3046\u3047]* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
562 |
\u3042\u3043\u3044 \u3045\u3046\u3047 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
563 |
true \u3042\u3043\u3044 \u3045\u3046\u3047 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
564 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
565 |
\u3042\u3043\u3044[\s\u305A-\u305B]* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
566 |
\u3042\u3043\u3044 \u305A \u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
567 |
true \u3042\u3043\u3044 \u305A \u305B 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
568 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
569 |
\u3042\u3043\u3044[\u3042-\u3045\s\u304e-\u3051]* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
570 |
\u3042\u3043\u3044\u3042\u3042 \u304e\u304f \u3051 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
571 |
true \u3042\u3043\u3044\u3042\u3042 \u304e\u304f \u3051 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
572 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
573 |
// Test the whitespace escape sequence |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
574 |
\u3042\u3043\s\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
575 |
\u3042\u3043 \u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
576 |
true \u3042\u3043 \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
577 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
578 |
\s\s\s |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
579 |
\u3043l\u3042\u3049 \u3046rr |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
580 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
581 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
582 |
\S\S\s |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
583 |
\u3043l\u3042\u3049 \u3046rr |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
584 |
true \u3042\u3049 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
585 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
586 |
// Test the digit escape sequence |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
587 |
\u3042\u3043\d\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
588 |
\u3042\u30439\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
589 |
true \u3042\u30439\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
590 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
591 |
\d\d\d |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
592 |
\u3043l\u3042\u304945 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
593 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
594 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
595 |
// Test the caret metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
596 |
^\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
597 |
\u3042\u3043\u3044\u3045\u3046\u3047 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
598 |
true \u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
599 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
600 |
^\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
601 |
\u3043\u3044\u3045\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
602 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
603 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
604 |
// Greedy ? metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
605 |
\u3042?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
606 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
607 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
608 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
609 |
\u3042?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
610 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
611 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
612 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
613 |
\u3042?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
614 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
615 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
616 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
617 |
.?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
618 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
619 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
620 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
621 |
// Reluctant ? metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
622 |
\u3042??\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
623 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
624 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
625 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
626 |
\u3042??\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
627 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
628 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
629 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
630 |
\u3042??\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
631 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
632 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
633 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
634 |
.??\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
635 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
636 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
637 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
638 |
// Possessive ? metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
639 |
\u3042?+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
640 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
641 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
642 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
643 |
\u3042?+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
644 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
645 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
646 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
647 |
\u3042?+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
648 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
649 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
650 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
651 |
.?+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
652 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
653 |
true \u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
654 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
655 |
// Greedy + metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
656 |
\u3042+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
657 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
658 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
659 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
660 |
\u3042+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
661 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
662 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
663 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
664 |
\u3042+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
665 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
666 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
667 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
668 |
.+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
669 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
670 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
671 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
672 |
// Reluctant + metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
673 |
\u3042+?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
674 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
675 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
676 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
677 |
\u3042+?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
678 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
679 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
680 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
681 |
\u3042+?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
682 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
683 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
684 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
685 |
.+?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
686 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
687 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
688 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
689 |
// Possessive + metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
690 |
\u3042++\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
691 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
692 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
693 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
694 |
\u3042++\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
695 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
696 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
697 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
698 |
\u3042++\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
699 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
700 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
701 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
702 |
.++\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
703 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
704 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
705 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
706 |
// Greedy Repetition |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
707 |
\u3042{2,3} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
708 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
709 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
710 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
711 |
\u3042{2,3} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
712 |
\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
713 |
true \u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
714 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
715 |
\u3042{2,3} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
716 |
\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
717 |
true \u3042\u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
718 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
719 |
\u3042{2,3} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
720 |
\u3042\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
721 |
true \u3042\u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
722 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
723 |
\u3042{3,} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
724 |
\u305B\u305B\u305B\u3042\u3042\u3042\u3042\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
725 |
true \u3042\u3042\u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
726 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
727 |
\u3042{3,} |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
728 |
\u305B\u305B\u305B\u3042\u3042\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
729 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
730 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
731 |
// Reluctant Repetition |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
732 |
\u3042{2,3}? |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
733 |
\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
734 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
735 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
736 |
\u3042{2,3}? |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
737 |
\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
738 |
true \u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
739 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
740 |
\u3042{2,3}? |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
741 |
\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
742 |
true \u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
743 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
744 |
\u3042{2,3}? |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
745 |
\u3042\u3042\u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
746 |
true \u3042\u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
747 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
748 |
// Zero width Positive lookahead |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
749 |
\u3042\u3043\u3044(?=\u3045) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
750 |
\u305B\u305B\u305B\u3042\u3043\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
751 |
true \u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
752 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
753 |
\u3042\u3043\u3044(?=\u3045) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
754 |
\u305B\u305B\u305B\u3042\u3043\u3044\u3046\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
755 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
756 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
757 |
// Zero width Negative lookahead |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
758 |
\u3042\u3043\u3044(?!\u3045) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
759 |
\u305B\u305B\u3042\u3043\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
760 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
761 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
762 |
\u3042\u3043\u3044(?!\u3045) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
763 |
\u305B\u305B\u3042\u3043\u3044\u3046\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
764 |
true \u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
765 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
766 |
// Zero width Positive lookbehind |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
767 |
\u3042(?<=\u3042) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
768 |
###\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
769 |
true \u3042 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
770 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
771 |
\u3042(?<=\u3042) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
772 |
###\u3043\u3044### |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
773 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
774 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
775 |
// Zero width Negative lookbehind |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
776 |
(?<!\u3042)\w |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
777 |
###\u3042\u3043\u3044a### |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
778 |
true a 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
779 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
780 |
(?<!\u3042)\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
781 |
\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
782 |
true \u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
783 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
784 |
(?<!\u3042)\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
785 |
\u3042\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
786 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
787 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
788 |
// Nondeterministic group |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
789 |
(\u3042+\u3043)+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
790 |
\u3042\u3043\u3042\u3043\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
791 |
true \u3042\u3043\u3042\u3043\u3042\u3043 1 \u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
792 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
793 |
(\u3042|\u3043)+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
794 |
\u3044\u3044\u3044\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
795 |
false 1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
796 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
797 |
// Deterministic group |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
798 |
(\u3042\u3043)+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
799 |
\u3042\u3043\u3042\u3043\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
800 |
true \u3042\u3043\u3042\u3043\u3042\u3043 1 \u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
801 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
802 |
(\u3042\u3043)+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
803 |
\u3042\u3044\u3044\u3044\u3044\u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
804 |
false 1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
805 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
806 |
(\u3042\u3043)* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
807 |
\u3042\u3043\u3042\u3043\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
808 |
true \u3042\u3043\u3042\u3043\u3042\u3043 1 \u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
809 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
810 |
(\u3042\u3043)(\u3044\u3045*) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
811 |
\u305B\u305B\u305B\u3042\u3043\u3044\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
812 |
true \u3042\u3043\u3044 2 \u3042\u3043 \u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
813 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
814 |
\u3042\u3043\u3044(\u3045)*\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
815 |
\u3042\u3043\u3044\u3045\u3045\u3045\u3045\u3045\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
816 |
true \u3042\u3043\u3044\u3045\u3045\u3045\u3045\u3045\u3042\u3043\u3044 1 \u3045 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
817 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
818 |
// Back references |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
819 |
(\u3042*)\u3043\u3044\1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
820 |
\u305B\u305B\u305B\u3042\u3042\u3043\u3044\u3042\u3042\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
821 |
true \u3042\u3042\u3043\u3044\u3042\u3042 1 \u3042\u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
822 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
823 |
(\u3042*)\u3043\u3044\1 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
824 |
\u305B\u305B\u305B\u3042\u3042\u3043\u3044\u3042\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
825 |
true \u3042\u3043\u3044\u3042 1 \u3042 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
826 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
827 |
(\u3048t*)(\u3045\u3045\u3046)*(\u305A\u3056)\1\3(\u3057\u3057) |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
828 |
\u305B\u305B\u305B\u3048tt\u3045\u3045\u3046\u3045\u3045\u3046\u305A\u3056\u3048tt\u305A\u3056\u3057\u3057\u305B\u305B\u305B |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
829 |
true \u3048tt\u3045\u3045\u3046\u3045\u3045\u3046\u305A\u3056\u3048tt\u305A\u3056\u3057\u3057 4 \u3048tt \u3045\u3045\u3046 \u305A\u3056 \u3057\u3057 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
830 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
831 |
// Greedy * metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
832 |
\u3042*\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
833 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
834 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
835 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
836 |
\u3042*\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
837 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
838 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
839 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
840 |
\u3042*\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
841 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
842 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
843 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
844 |
.*\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
845 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
846 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
847 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
848 |
// Reluctant * metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
849 |
\u3042*?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
850 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
851 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
852 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
853 |
\u3042*?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
854 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
855 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
856 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
857 |
\u3042*?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
858 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
859 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
860 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
861 |
.*?\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
862 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
863 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
864 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
865 |
// Possessive * metacharacter |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
866 |
\u3042*+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
867 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
868 |
true \u3042\u3042\u3042\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
869 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
870 |
\u3042*+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
871 |
\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
872 |
true \u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
873 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
874 |
\u3042*+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
875 |
\u3042\u3042\u3042\u3044\u3044\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
876 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
877 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
878 |
.*+\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
879 |
\u3042\u3042\u3042\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
880 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
881 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
882 |
// Case insensitivity |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
883 |
(?iu)\uFF46\uFF4F\uFF4F\uFF42\uFF41\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
884 |
\uFF46\uFF2F\uFF4F\uFF42\uFF21\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
885 |
true \uFF46\uFF2F\uFF4F\uFF42\uFF21\uFF52 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
886 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
887 |
\uFF46(?iu)\uFF4F\uFF4F\uFF42\uFF41\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
888 |
\uFF46\uFF2F\uFF4F\uFF42\uFF21\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
889 |
true \uFF46\uFF2F\uFF4F\uFF42\uFF21\uFF52 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
890 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
891 |
\uFF46\uFF4F\uFF4F(?iu)\uFF42\uFF41\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
892 |
\uFF46\uFF2F\uFF4F\uFF42\uFF21\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
893 |
false 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
894 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
895 |
(?iu)\uFF46\uFF4F\uFF4F[\uFF42\uFF41\uFF52]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
896 |
\uFF46\uFF4F\uFF2F\uFF42\uFF21\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
897 |
true \uFF46\uFF4F\uFF2F\uFF42\uFF21\uFF52 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
898 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
899 |
(?iu)\uFF46\uFF4F\uFF4F[\uFF41-\uFF52]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
900 |
\uFF46\uFF4F\uFF2F\uFF42\uFF21\uFF52 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
901 |
true \uFF46\uFF4F\uFF2F\uFF42\uFF21\uFF52 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
902 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
903 |
// Disable metacharacters- test both length <=3 and >3 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
904 |
// So that the BM optimization is part of test |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
905 |
\Q***\E\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
906 |
***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
907 |
true ***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
908 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
909 |
\u3043l\Q***\E\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
910 |
\u3043l***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
911 |
true \u3043l***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
912 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
913 |
\Q***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
914 |
***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
915 |
true ***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
916 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
917 |
\u3043l\u3042\u3049\Q***\E\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
918 |
\u3043l\u3042\u3049***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
919 |
true \u3043l\u3042\u3049***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
920 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
921 |
\Q***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
922 |
***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
923 |
true ***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
924 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
925 |
\Q*\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
926 |
*\u3042\u3043 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
927 |
true *\u3042\u3043 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
928 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
929 |
\u3043l\u3042\u3049\Q***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
930 |
\u3043l\u3042\u3049***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
931 |
true \u3043l\u3042\u3049***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
932 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
933 |
\u3043l\u3042\Q***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
934 |
\u3043l\u3042***\u3042\u3043\u3044 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
935 |
true \u3043l\u3042***\u3042\u3043\u3044 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
936 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
937 |
[\043]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
938 |
\u3043l\u3042\u3049\u3043l\u3042\u3049#\u3043le\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
939 |
true # 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
940 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
941 |
[\042-\044]+ |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
942 |
\u3043l\u3042\u3049\u3043l\u3042\u3049#\u3043le\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
943 |
true # 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
944 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
945 |
[\u1234-\u1236] |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
946 |
\u3043l\u3042\u3049\u3043l\u3042\u3049\u1235\u3043le\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
947 |
true \u1235 0 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
948 |
|
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
949 |
[^\043]* |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
950 |
\u3043l\u3042\u3049\u3043l\u3042\u3049#\u3043le\u3044\u3049 |
6e9972fbd965
6350801: Add support for named (instead of numbered) capture groups in regular expression
sherman
parents:
diff
changeset
|
951 |
true \u3043l\u3042\u3049\u3043l\u3042\u3049 0 |