Lines Matching refs:perl
22 TEST_REGEX_SEARCH("\\0101", perl, "A", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
23 TEST_REGEX_SEARCH("\\00", perl, "\0", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
24 TEST_REGEX_SEARCH("\\0", perl, "\0", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
25 TEST_REGEX_SEARCH("\\0172", perl, "z", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
27 TEST_REGEX_SEARCH("\\a", perl, "\a", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
28 TEST_REGEX_SEARCH("\\f", perl, "\f", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
29 TEST_REGEX_SEARCH("\\n", perl, "\n", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
30 TEST_REGEX_SEARCH("\\r", perl, "\r", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
31 TEST_REGEX_SEARCH("\\v", perl, "\v", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
32 TEST_REGEX_SEARCH("\\t", perl, "\t", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
35 TEST_REGEX_SEARCH("\\x41", perl, "A", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
36 TEST_REGEX_SEARCH("\\xff", perl, "\xff", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
37 TEST_REGEX_SEARCH("\\xFF", perl, "\xff", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
38 TEST_REGEX_SEARCH("\\c@", perl, "\0", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
39 TEST_REGEX_SEARCH("\\cA", perl, "\x1", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
43 TEST_REGEX_SEARCH("=:", perl, "=:", match_default, make_array(0, 2, -2, -2)); in test_character_escapes()
45 TEST_REGEX_SEARCH("\\e", perl, "\x1B", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
46 TEST_REGEX_SEARCH("\\x1b", perl, "\x1B", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
47 TEST_REGEX_SEARCH("\\x{1b}", perl, "\x1B", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
48 TEST_INVALID_REGEX("\\x{}", perl); in test_character_escapes()
49 TEST_INVALID_REGEX("\\x{", perl); in test_character_escapes()
50 TEST_INVALID_REGEX("\\", perl); in test_character_escapes()
51 TEST_INVALID_REGEX("\\c", perl); in test_character_escapes()
52 TEST_INVALID_REGEX("\\x}", perl); in test_character_escapes()
53 TEST_INVALID_REGEX("\\x", perl); in test_character_escapes()
54 TEST_INVALID_REGEX("\\x{yy", perl); in test_character_escapes()
55 TEST_INVALID_REGEX("\\x{1b", perl); in test_character_escapes()
57 TEST_INVALID_REGEX("\\Qabc\\", perl); in test_character_escapes()
58 TEST_REGEX_SEARCH("\\Qabc\\E", perl, "abcd", match_default, make_array(0, 3, -2, -2)); in test_character_escapes()
59 TEST_REGEX_SEARCH("\\Qabc\\Ed", perl, "abcde", match_default, make_array(0, 4, -2, -2)); in test_character_escapes()
60 TEST_REGEX_SEARCH("\\Q+*?\\\\E", perl, "+*?\\", match_default, make_array(0, 4, -2, -2)); in test_character_escapes()
61 TEST_REGEX_SEARCH("a\\Q+*?\\\\Eb", perl, "a+*?\\b", match_default, make_array(0, 6, -2, -2)); in test_character_escapes()
62 TEST_REGEX_SEARCH("\\C+", perl, "abcde", match_default, make_array(0, 5, -2, -2)); in test_character_escapes()
63 TEST_REGEX_SEARCH("\\X+", perl, "abcde", match_default, make_array(0, 5, -2, -2)); in test_character_escapes()
65 TEST_REGEX_SEARCH_W(L"\\X", perl, L"a\x0300\x0301", match_default, make_array(0, 3, -2, -2)); in test_character_escapes()
68 TEST_REGEX_SEARCH("\\~", perl, "~", match_default, make_array(0, 1, -2, -2)); in test_character_escapes()
78 TEST_REGEX_SEARCH("\\<abcd", perl, " abcd", match_default, make_array(2, 6, -2, -2)); in test_assertion_escapes()
79 TEST_REGEX_SEARCH("\\<ab", perl, "cab", match_default, make_array(-2, -2)); in test_assertion_escapes()
80 TEST_REGEX_SEARCH("\\<ab", perl, "\nab", match_default, make_array(1, 3, -2, -2)); in test_assertion_escapes()
81 TEST_REGEX_SEARCH("\\<tag", perl, "::tag", match_default, make_array(2, 5, -2, -2)); in test_assertion_escapes()
82 TEST_REGEX_SEARCH("\\<abcd", perl, "abcd", match_default|match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
83 …TEST_REGEX_SEARCH("\\<abcd", perl, " abcd", match_default|match_not_bow, make_array(2, 6, -2, -2)… in test_assertion_escapes()
84 TEST_REGEX_SEARCH("\\<", perl, "ab ", match_default|match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
85 TEST_REGEX_SEARCH(".\\<.", perl, "ab", match_default|match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
86 TEST_REGEX_SEARCH(".\\<.", perl, " b", match_default|match_not_bow, make_array(0, 2, -2, -2)); in test_assertion_escapes()
88 TEST_REGEX_SEARCH("abc\\>", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
89 TEST_REGEX_SEARCH("abc\\>", perl, "abcd", match_default, make_array(-2, -2)); in test_assertion_escapes()
90 TEST_REGEX_SEARCH("abc\\>", perl, "abc\n", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
91 TEST_REGEX_SEARCH("abc\\>", perl, "abc::", match_default, make_array(0,3, -2, -2)); in test_assertion_escapes()
92 TEST_REGEX_SEARCH("abc(?:\\>..|$)", perl, "abc::", match_default, make_array(0, 5, -2, -2)); in test_assertion_escapes()
93 TEST_REGEX_SEARCH("\\>", perl, " ", match_default, make_array(-2, -2)); in test_assertion_escapes()
94 TEST_REGEX_SEARCH(".\\>.", perl, " ", match_default, make_array(-2, -2)); in test_assertion_escapes()
95 TEST_REGEX_SEARCH("abc\\>", perl, "abc", match_default|match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
97 TEST_REGEX_SEARCH("\\babcd", perl, " abcd", match_default, make_array(2, 6, -2, -2)); in test_assertion_escapes()
98 TEST_REGEX_SEARCH("\\bab", perl, "cab", match_default, make_array(-2, -2)); in test_assertion_escapes()
99 TEST_REGEX_SEARCH("\\bab", perl, "\nab", match_default, make_array(1, 3, -2, -2)); in test_assertion_escapes()
100 TEST_REGEX_SEARCH("\\btag", perl, "::tag", match_default, make_array(2, 5, -2, -2)); in test_assertion_escapes()
101 TEST_REGEX_SEARCH("abc\\b", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
102 TEST_REGEX_SEARCH("abc\\b", perl, "abcd", match_default, make_array(-2, -2)); in test_assertion_escapes()
103 TEST_REGEX_SEARCH("abc\\b", perl, "abc\n", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
104 TEST_REGEX_SEARCH("abc\\b", perl, "abc::", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
105 TEST_REGEX_SEARCH("\\babcd", perl, "abcd", match_default|match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
107 TEST_REGEX_SEARCH("\\B", perl, "ab", match_default, make_array(1, 1, -2, -2)); in test_assertion_escapes()
108 TEST_REGEX_SEARCH("a\\Bb", perl, "ab", match_default, make_array(0, 2, -2, -2)); in test_assertion_escapes()
109 TEST_REGEX_SEARCH("a\\B", perl, "ab", match_default, make_array(0, 1, -2, -2)); in test_assertion_escapes()
110 TEST_REGEX_SEARCH("a\\B", perl, "a", match_default, make_array(-2, -2)); in test_assertion_escapes()
111 TEST_REGEX_SEARCH("a\\B", perl, "a ", match_default, make_array(-2, -2)); in test_assertion_escapes()
112 TEST_REGEX_SEARCH("\\By\\b", perl, "xy", match_default, make_array(1, 2, -2, -2)); in test_assertion_escapes()
113 TEST_REGEX_SEARCH("\\by\\B", perl, "yz", match_default, make_array(0, 1, -2, -2)); in test_assertion_escapes()
114 TEST_REGEX_SEARCH("\\B\\*\\B", perl, " * ", match_default, make_array(1, 2, -2, -2)); in test_assertion_escapes()
116 TEST_REGEX_SEARCH("\\`abc", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
117 TEST_REGEX_SEARCH("\\`abc", perl, "\nabc", match_default, make_array(-2, -2)); in test_assertion_escapes()
118 TEST_REGEX_SEARCH("\\`abc", perl, " abc", match_default, make_array(-2, -2)); in test_assertion_escapes()
119 TEST_REGEX_SEARCH("abc\\'", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
120 TEST_REGEX_SEARCH("abc\\'", perl, "abc\n", match_default, make_array(-2, -2)); in test_assertion_escapes()
121 TEST_REGEX_SEARCH("abc\\'", perl, "abc ", match_default, make_array(-2, -2)); in test_assertion_escapes()
122 TEST_REGEX_SEARCH("abc(?:\\'|$)", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
125 TEST_REGEX_SEARCH("[[:<:]]abcd", perl, " abcd", match_default, make_array(2, 6, -2, -2)); in test_assertion_escapes()
126 TEST_REGEX_SEARCH("[[:<:]]ab", perl, "cab", match_default, make_array(-2, -2)); in test_assertion_escapes()
127 TEST_REGEX_SEARCH("[[:<:]]ab", perl, "\nab", match_default, make_array(1, 3, -2, -2)); in test_assertion_escapes()
128 TEST_REGEX_SEARCH("[[:<:]]tag", perl, "::tag", match_default, make_array(2, 5, -2, -2)); in test_assertion_escapes()
130 TEST_REGEX_SEARCH("abc[[:>:]]", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
131 TEST_REGEX_SEARCH("abc[[:>:]]", perl, "abcd", match_default, make_array(-2, -2)); in test_assertion_escapes()
132 TEST_REGEX_SEARCH("abc[[:>:]]", perl, "abc\n", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
133 TEST_REGEX_SEARCH("abc[[:>:]]", perl, "abc::", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
135 TEST_REGEX_SEARCH("\\Aabc", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
136 TEST_REGEX_SEARCH("\\Aabc", perl, "aabc", match_default, make_array(-2, -2)); in test_assertion_escapes()
137 TEST_REGEX_SEARCH("abc\\z", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
138 TEST_REGEX_SEARCH("abc\\z", perl, "abcd", match_default, make_array(-2, -2)); in test_assertion_escapes()
139 TEST_REGEX_SEARCH("abc\\Z", perl, "abc\n\n", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
140 TEST_REGEX_SEARCH("abc\\Z", perl, "abc\n\n", match_default|match_not_eob, make_array(-2, -2)); in test_assertion_escapes()
141 TEST_REGEX_SEARCH("abc\\Z", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
142 TEST_REGEX_SEARCH("\\Gabc", perl, "abc", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
143 TEST_REGEX_SEARCH("\\Gabc", perl, "dabcd", match_default, make_array(-2, -2)); in test_assertion_escapes()
144 TEST_REGEX_SEARCH("a\\Gbc", perl, "abc", match_default, make_array(-2, -2)); in test_assertion_escapes()
145 TEST_REGEX_SEARCH("a\\Aab", perl, "abc", match_default, make_array(-2, -2)); in test_assertion_escapes()
146 TEST_REGEX_SEARCH("abc(?:\\Z|$)", perl, "abc\n\n", match_default, make_array(0, 3, -2, -2)); in test_assertion_escapes()
149 TEST_REGEX_SEARCH("(foo)\\Kbar", perl, "foobar", match_default, make_array(3, 6, 0, 3, -2, -2)); in test_assertion_escapes()
150 …TEST_REGEX_SEARCH("(foo)(\\Kbar|baz)", perl, "foobar", match_default, make_array(3, 6, 0, 3, 3, 6,… in test_assertion_escapes()
151 …TEST_REGEX_SEARCH("(foo)(\\Kbar|baz)", perl, "foobaz", match_default, make_array(0, 6, 0, 3, 3, 6,… in test_assertion_escapes()
152 …TEST_REGEX_SEARCH("(foo\\Kbar)baz", perl, "foobarbaz", match_default, make_array(3, 9, 0, 6, -2, -… in test_assertion_escapes()
155 TEST_REGEX_SEARCH("\\R", perl, "foo\nbar", match_default, make_array(3, 4, -2, -2)); in test_assertion_escapes()
156 TEST_REGEX_SEARCH("\\R", perl, "foo\rbar", match_default, make_array(3, 4, -2, -2)); in test_assertion_escapes()
157 TEST_REGEX_SEARCH("\\R", perl, "foo\r\nbar", match_default, make_array(3, 5, -2, -2)); in test_assertion_escapes()
158 TEST_REGEX_SEARCH("(?x) abc \\R", perl, "abc\r\nbar", match_default, make_array(0, 5, -2, -2)); in test_assertion_escapes()
159 TEST_REGEX_SEARCH("(?x) abc \\R", perl, "abc\012bar", match_default, make_array(0, 4, -2, -2)); in test_assertion_escapes()
160 TEST_REGEX_SEARCH("(?x) abc \\R", perl, "abc\013bar", match_default, make_array(0, 4, -2, -2)); in test_assertion_escapes()
161 TEST_REGEX_SEARCH("(?x) abc \\R", perl, "abc\013bar", match_default, make_array(0, 4, -2, -2)); in test_assertion_escapes()
162 TEST_REGEX_SEARCH("(?x) abc \\R", perl, "abc\205bar", match_default, make_array(0, 4, -2, -2)); in test_assertion_escapes()
167 TEST_REGEX_SEARCH_W(L"\\R", perl, L"foo\u2028bar", match_default, make_array(3, 4, -2, -2)); in test_assertion_escapes()
168 TEST_REGEX_SEARCH_W(L"\\R", perl, L"foo\u2029bar", match_default, make_array(3, 4, -2, -2)); in test_assertion_escapes()
169 …TEST_REGEX_SEARCH_W(L"(?x) abc \\R", perl, L"abc\u2028bar", match_default, make_array(0, 4, -2, -2… in test_assertion_escapes()
170 …TEST_REGEX_SEARCH_W(L"(?x) abc \\R", perl, L"abc\u2029bar", match_default, make_array(0, 4, -2, -2… in test_assertion_escapes()
173 TEST_REGEX_SEARCH("\\b", perl, "", match_default, make_array(-2, -2)); in test_assertion_escapes()
174 TEST_REGEX_SEARCH("\\b", perl, "", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
175 TEST_REGEX_SEARCH("\\b", perl, "", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
176 TEST_REGEX_SEARCH("\\b", perl, "", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
177 TEST_REGEX_SEARCH("\\b", perl, "-", match_default, make_array(-2, -2)); in test_assertion_escapes()
178 TEST_REGEX_SEARCH("\\b", perl, "-", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
179 TEST_REGEX_SEARCH("\\b", perl, "-", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
180 TEST_REGEX_SEARCH("\\b", perl, "-", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
181 TEST_REGEX_SEARCH("\\<", perl, "", match_default, make_array(-2, -2)); in test_assertion_escapes()
182 TEST_REGEX_SEARCH("\\<", perl, "", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
183 TEST_REGEX_SEARCH("\\<", perl, "", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
184 TEST_REGEX_SEARCH("\\<", perl, "", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
185 TEST_REGEX_SEARCH("\\<", perl, "-", match_default, make_array(-2, -2)); in test_assertion_escapes()
186 TEST_REGEX_SEARCH("\\<", perl, "-", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
187 TEST_REGEX_SEARCH("\\<", perl, "-", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
188 TEST_REGEX_SEARCH("\\<", perl, "-", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
189 TEST_REGEX_SEARCH("\\>", perl, "", match_default, make_array(-2, -2)); in test_assertion_escapes()
190 TEST_REGEX_SEARCH("\\>", perl, "", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
191 TEST_REGEX_SEARCH("\\>", perl, "", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
192 TEST_REGEX_SEARCH("\\>", perl, "", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
193 TEST_REGEX_SEARCH("\\>", perl, "-", match_default, make_array(-2, -2)); in test_assertion_escapes()
194 TEST_REGEX_SEARCH("\\>", perl, "-", match_not_bow, make_array(-2, -2)); in test_assertion_escapes()
195 TEST_REGEX_SEARCH("\\>", perl, "-", match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
196 TEST_REGEX_SEARCH("\\>", perl, "-", match_not_bow | match_not_eow, make_array(-2, -2)); in test_assertion_escapes()
199 …TEST_REGEX_SEARCH("\\R", perl | no_escape_in_lists, "foo\nbar", match_default, make_array(3, 4, -2… in test_assertion_escapes()
200 …TEST_REGEX_SEARCH("\\R", perl | no_escape_in_lists, "foo\rbar", match_default, make_array(3, 4, -2… in test_assertion_escapes()
201 …TEST_REGEX_SEARCH("\\R", perl | no_escape_in_lists, "foo\r\nbar", match_default, make_array(3, 5, … in test_assertion_escapes()
202 …TEST_REGEX_SEARCH("(?x) abc \\R", perl | no_escape_in_lists, "abc\r\nbar", match_default, make_arr… in test_assertion_escapes()
203 …TEST_REGEX_SEARCH("(?x) abc \\R", perl | no_escape_in_lists, "abc\012bar", match_default, make_arr… in test_assertion_escapes()
204 …TEST_REGEX_SEARCH("(?x) abc \\R", perl | no_escape_in_lists, "abc\013bar", match_default, make_arr… in test_assertion_escapes()
205 …TEST_REGEX_SEARCH("(?x) abc \\R", perl | no_escape_in_lists, "abc\013bar", match_default, make_arr… in test_assertion_escapes()
206 …TEST_REGEX_SEARCH("(?x) abc \\R", perl | no_escape_in_lists, "abc\205bar", match_default, make_arr… in test_assertion_escapes()
210 …TEST_REGEX_SEARCH_W(L"\\R", perl | no_escape_in_lists, L"foo\u2028bar", match_default, make_array(… in test_assertion_escapes()
211 …TEST_REGEX_SEARCH_W(L"\\R", perl | no_escape_in_lists, L"foo\u2029bar", match_default, make_array(… in test_assertion_escapes()
212 …TEST_REGEX_SEARCH_W(L"(?x) abc \\R", perl | no_escape_in_lists, L"abc\u2028bar", match_default, ma… in test_assertion_escapes()
213 …TEST_REGEX_SEARCH_W(L"(?x) abc \\R", perl | no_escape_in_lists, L"abc\u2029bar", match_default, ma… in test_assertion_escapes()