3 Quantifier unexpected on zero-length expression [S_study_chunk]
5 Useless (%s%c) - %suse /%c modifier [S_reg]
6 Useless (%sc) - %suse /gc modifier [S_reg]
10 Strange *+?{} on zero-length expression [S_study_chunk]
13 %.*s matches null string many times [S_regpiece]
14 $a = "ABC123" ; $a =~ /(?=a)*/'
16 /%.127s/: Unrecognized escape \\%c passed through [S_regatom]
19 POSIX syntax [%c %c] belongs inside character classes [S_checkposixcc]
22 Character class [:%.*s:] unknown [S_regpposixcc]
24 Character class syntax [%c %c] belongs inside character classes [S_checkposixcc]
26 /%.127s/: false [] range \"%*.*s\" in regexp [S_regclass]
28 /%.127s/: false [] range \"%*.*s\" in regexp [S_regclassutf8]
30 /%.127s/: Unrecognized escape \\%c in character class passed through" [S_regclass]
32 /%.127s/: Unrecognized escape \\%c in character class passed through" [S_regclassutf8]
34 False [] range \"%*.*s\" [S_regclass]
37 # regcomp.c [S_regpiece]
38 use warnings 'regexp' ;
41 no warnings 'regexp' ;
44 (?=a)* matches null string many times in regex; marked by <-- HERE in m/(?=a)* <-- HERE / at - line 4.
46 # regcomp.c [S_regatom]
48 use warnings 'regexp' ;
50 no warnings 'regexp' ;
53 Unrecognized escape \m passed through in regex; marked by <-- HERE in m/a\m <-- HERE / at - line 4.
55 # regcomp.c [S_regatom]
56 # The \q should warn, the \_ should NOT warn.
57 use warnings 'regexp';
70 Unrecognized escape \q passed through in regex; marked by <-- HERE in m/\q <-- HERE / at - line 4.
71 Unrecognized escape \q{ passed through in regex; marked by <-- HERE in m/\q{ <-- HERE / at - line 5.
72 "\b{" is deprecated; use "\b\{" instead in regex; marked by <-- HERE in m/a\ <-- HERE b{cde/ at - line 6.
73 "\B{" is deprecated; use "\B\{" instead in regex; marked by <-- HERE in m/a\ <-- HERE B{cde/ at - line 7.
75 # regcomp.c [S_regpposixcc S_checkposixcc]
77 use warnings 'regexp' ;
81 no warnings 'regexp' ;
85 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:alpha:] <-- HERE / at - line 5.
86 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:zog:] <-- HERE / at - line 6.
88 # regcomp.c [S_checkposixcc]
90 use warnings 'regexp' ;
93 no warnings 'regexp' ;
96 POSIX syntax [. .] belongs inside character classes in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
97 POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
99 # regcomp.c [S_regclass]
101 use warnings 'regexp' ;
109 /[[:alpha:]-[:digit:]]/;
110 /[[:digit:]-[:alpha:]]/;
111 no warnings 'regexp' ;
119 /[[:alpha:]-[:digit:]]/;
120 /[[:digit:]-[:alpha:]]/;
122 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 5.
123 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 6.
124 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 7.
125 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 8.
126 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 9.
127 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 10.
128 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 11.
129 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 12.
131 # regcomp.c [S_regclassutf8]
133 if (ord("\t") == 5) {
134 print "SKIPPED\n# ebcdic regular expression ranges differ.";
140 use warnings 'regexp' ;
148 /[[:alpha:]-[:digit:]]/;
149 /[[:digit:]-[:alpha:]]/;
150 no warnings 'regexp' ;
158 /[[:alpha:]-[:digit:]]/;
159 /[[:digit:]-[:alpha:]]/;
161 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 12.
162 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 13.
163 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 14.
164 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 15.
165 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 16.
166 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 17.
167 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 18.
168 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 19.
170 # regcomp.c [S_regclass S_regclassutf8]
171 use warnings 'regexp' ;
173 no warnings 'regexp' ;
176 Unrecognized escape \z in character class passed through in regex; marked by <-- HERE in m/[a\z <-- HERE b]/ at - line 3.
180 use warnings 'regexp' ;
189 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
191 no warnings 'regexp' ;
200 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
204 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?c <-- HERE )/ at - line 3.
205 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?-c <-- HERE )/ at - line 4.
206 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE )/ at - line 5.
207 Useless (?-g) - don't use /g modifier in regex; marked by <-- HERE in m/(?-g <-- HERE )/ at - line 6.
208 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE )/ at - line 7.
209 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?-o <-- HERE )/ at - line 8.
210 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -o)/ at - line 9.
211 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?g-o <-- HERE )/ at - line 9.
212 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -c)/ at - line 10.
213 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?g-c <-- HERE )/ at - line 10.
214 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE -cg)/ at - line 11.
215 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?o-c <-- HERE g)/ at - line 11.
216 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE gc)/ at - line 12.
217 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?og <-- HERE c)/ at - line 12.
218 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?ogc <-- HERE )/ at - line 12.
220 # regcomp.c [S_regatom]
223 Missing right brace on \o{ in regex; marked by <-- HERE in m/\o{ <-- HERE / at - line 2.
225 # regcomp.c [S_regatom]
228 Missing braces on \o{} in regex; marked by <-- HERE in m/\o <-- HERE / at - line 2.
230 # regcomp.c [S_regatom]
233 Number with no digits in regex; marked by <-- HERE in m/\o{} <-- HERE / at - line 2.
235 # regcomp.c [S_regclass]
238 Missing right brace on \o{ in regex; marked by <-- HERE in m/[\o{ <-- HERE ]/ at - line 2.
240 # regcomp.c [S_regclass]
243 Missing braces on \o{} in regex; marked by <-- HERE in m/[\o <-- HERE ]/ at - line 2.
245 # regcomp.c [S_regclass]
248 Number with no digits in regex; marked by <-- HERE in m/[\o{} <-- HERE ]/ at - line 2.
250 # regcomp.c [S_regclass]
251 use warnings 'regexp' ;
253 $a = qr/[\_\0]/; # Should have no warnings on this and the remainder of this test
257 no warnings 'regexp' ;
260 Unrecognized escape \8 in character class passed through in regex; marked by <-- HERE in m/[\8 <-- HERE \9]/ at - line 3.
261 Unrecognized escape \9 in character class passed through in regex; marked by <-- HERE in m/[\8\9 <-- HERE ]/ at - line 3.
263 # regcomp.c [Perl_re_compile]
266 Sequence (?^-...) not recognized in regex; marked by <-- HERE in m/(?^- <-- HERE i:foo)/ at - line 2.