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';
72 Unrecognized escape \q passed through in regex; marked by <-- HERE in m/\q <-- HERE / at - line 4.
73 Unrecognized escape \q passed through in regex; marked by <-- HERE in m/\q <-- HERE {/ at - line 5.
74 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\q{ <-- HERE / at - line 5.
75 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\w{ <-- HERE / at - line 6.
76 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/a\b{ <-- HERE cde/ at - line 7.
77 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/a\B{ <-- HERE cde/ at - line 8.
79 # regcomp.c [S_regpposixcc S_checkposixcc]
81 use warnings 'regexp' ;
85 no warnings 'regexp' ;
89 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:alpha:] <-- HERE / at - line 5.
90 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:zog:] <-- HERE / at - line 6.
92 # regcomp.c [S_checkposixcc]
94 use warnings 'regexp' ;
97 no warnings 'regexp' ;
100 POSIX syntax [. .] belongs inside character classes in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
101 POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
103 # regcomp.c [S_regclass]
105 use warnings 'regexp' ;
113 /[[:alpha:]-[:digit:]]/;
114 /[[:digit:]-[:alpha:]]/;
115 no warnings 'regexp' ;
123 /[[:alpha:]-[:digit:]]/;
124 /[[:digit:]-[:alpha:]]/;
126 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 5.
127 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 6.
128 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 7.
129 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 8.
130 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 9.
131 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 10.
132 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 11.
133 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 12.
135 # regcomp.c [S_regclassutf8]
137 if (ord("\t") == 5) {
138 print "SKIPPED\n# ebcdic regular expression ranges differ.";
144 use warnings 'regexp' ;
152 /[[:alpha:]-[:digit:]]/;
153 /[[:digit:]-[:alpha:]]/;
154 no warnings 'regexp' ;
162 /[[:alpha:]-[:digit:]]/;
163 /[[:digit:]-[:alpha:]]/;
165 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 12.
166 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 13.
167 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 14.
168 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 15.
169 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 16.
170 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 17.
171 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 18.
172 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 19.
174 # regcomp.c [S_regclass S_regclassutf8]
175 use warnings 'regexp' ;
177 no warnings 'regexp' ;
180 Unrecognized escape \z in character class passed through in regex; marked by <-- HERE in m/[a\z <-- HERE b]/ at - line 3.
184 use warnings 'regexp' ;
193 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
195 no warnings 'regexp' ;
204 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
208 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?c <-- HERE )/ at - line 3.
209 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?-c <-- HERE )/ at - line 4.
210 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE )/ at - line 5.
211 Useless (?-g) - don't use /g modifier in regex; marked by <-- HERE in m/(?-g <-- HERE )/ at - line 6.
212 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE )/ at - line 7.
213 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?-o <-- HERE )/ at - line 8.
214 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -o)/ at - line 9.
215 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?g-o <-- HERE )/ at - line 9.
216 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -c)/ at - line 10.
217 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?g-c <-- HERE )/ at - line 10.
218 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE -cg)/ at - line 11.
219 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?o-c <-- HERE g)/ at - line 11.
220 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE gc)/ at - line 12.
221 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?og <-- HERE c)/ at - line 12.
222 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?ogc <-- HERE )/ at - line 12.
224 # regcomp.c [S_regatom]
227 Missing right brace on \o{ in regex; marked by <-- HERE in m/\o{ <-- HERE / at - line 2.
229 # regcomp.c [S_regatom]
232 Missing braces on \o{} in regex; marked by <-- HERE in m/\o <-- HERE / at - line 2.
234 # regcomp.c [S_regatom]
237 Number with no digits in regex; marked by <-- HERE in m/\o{} <-- HERE / at - line 2.
239 # regcomp.c [S_regclass]
242 Missing right brace on \o{ in regex; marked by <-- HERE in m/[\o{ <-- HERE ]/ at - line 2.
244 # regcomp.c [S_regclass]
247 Missing braces on \o{} in regex; marked by <-- HERE in m/[\o <-- HERE ]/ at - line 2.
249 # regcomp.c [S_regclass]
252 Number with no digits in regex; marked by <-- HERE in m/[\o{} <-- HERE ]/ at - line 2.
254 # regcomp.c [S_regclass]
255 use warnings 'regexp' ;
257 $a = qr/[\_\0]/; # Should have no warnings on this and the remainder of this test
261 no warnings 'regexp' ;
264 Unrecognized escape \8 in character class passed through in regex; marked by <-- HERE in m/[\8 <-- HERE \9]/ at - line 3.
265 Unrecognized escape \9 in character class passed through in regex; marked by <-- HERE in m/[\8\9 <-- HERE ]/ at - line 3.
267 # regcomp.c [Perl_re_compile]
270 Sequence (?^-...) not recognized in regex; marked by <-- HERE in m/(?^- <-- HERE i:foo)/ at - line 2.