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';
64 Unrecognized escape \q passed through in regex; marked by <-- HERE in m/\q <-- HERE / at - line 4.
66 # regcomp.c [S_regpposixcc S_checkposixcc]
68 use warnings 'regexp' ;
72 no warnings 'regexp' ;
76 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:alpha:] <-- HERE / at - line 5.
77 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:zog:] <-- HERE / at - line 6.
79 # regcomp.c [S_checkposixcc]
81 use warnings 'regexp' ;
84 no warnings 'regexp' ;
87 POSIX syntax [. .] belongs inside character classes in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
88 POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
90 # regcomp.c [S_regclass]
92 use warnings 'regexp' ;
100 /[[:alpha:]-[:digit:]]/;
101 /[[:digit:]-[:alpha:]]/;
102 no warnings 'regexp' ;
110 /[[:alpha:]-[:digit:]]/;
111 /[[:digit:]-[:alpha:]]/;
113 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 5.
114 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 6.
115 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 7.
116 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 8.
117 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 9.
118 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 10.
119 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 11.
120 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 12.
122 # regcomp.c [S_regclassutf8]
124 if (ord("\t") == 5) {
125 print "SKIPPED\n# ebcdic regular expression ranges differ.";
131 use warnings 'regexp' ;
139 /[[:alpha:]-[:digit:]]/;
140 /[[:digit:]-[:alpha:]]/;
141 no warnings 'regexp' ;
149 /[[:alpha:]-[:digit:]]/;
150 /[[:digit:]-[:alpha:]]/;
152 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 12.
153 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 13.
154 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 14.
155 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 15.
156 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 16.
157 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 17.
158 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 18.
159 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 19.
161 # regcomp.c [S_regclass S_regclassutf8]
162 use warnings 'regexp' ;
164 no warnings 'regexp' ;
167 Unrecognized escape \z in character class passed through in regex; marked by <-- HERE in m/[a\z <-- HERE b]/ at - line 3.
171 use warnings 'regexp' ;
180 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
182 no warnings 'regexp' ;
191 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
195 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?c <-- HERE )/ at - line 3.
196 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?-c <-- HERE )/ at - line 4.
197 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE )/ at - line 5.
198 Useless (?-g) - don't use /g modifier in regex; marked by <-- HERE in m/(?-g <-- HERE )/ at - line 6.
199 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE )/ at - line 7.
200 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?-o <-- HERE )/ at - line 8.
201 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -o)/ at - line 9.
202 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?g-o <-- HERE )/ at - line 9.
203 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -c)/ at - line 10.
204 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?g-c <-- HERE )/ at - line 10.
205 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE -cg)/ at - line 11.
206 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?o-c <-- HERE g)/ at - line 11.
207 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE gc)/ at - line 12.
208 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?og <-- HERE c)/ at - line 12.
209 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?ogc <-- HERE )/ at - line 12.
211 # regcomp.c [S_regatom]
214 Missing right brace on \o{ in regex; marked by <-- HERE in m/\o{ <-- HERE / at - line 2.
216 # regcomp.c [S_regatom]
219 Missing braces on \o{} in regex; marked by <-- HERE in m/\o <-- HERE / at - line 2.
221 # regcomp.c [S_regatom]
224 Number with no digits in regex; marked by <-- HERE in m/\o{} <-- HERE / at - line 2.
226 # regcomp.c [S_regclass]
229 Missing right brace on \o{ in regex; marked by <-- HERE in m/[\o{ <-- HERE ]/ at - line 2.
231 # regcomp.c [S_regclass]
234 Missing braces on \o{} in regex; marked by <-- HERE in m/[\o <-- HERE ]/ at - line 2.
236 # regcomp.c [S_regclass]
239 Number with no digits in regex; marked by <-- HERE in m/[\o{} <-- HERE ]/ at - line 2.
241 # regcomp.c [S_regclass]
242 use warnings 'regexp' ;
244 $a = qr/[\_\0]/; # Should have no warnings on this and the remainder of this test
248 no warnings 'regexp' ;
251 Unrecognized escape \8 in character class passed through in regex; marked by <-- HERE in m/[\8 <-- HERE \9]/ at - line 3.
252 Unrecognized escape \9 in character class passed through in regex; marked by <-- HERE in m/[\8\9 <-- HERE ]/ at - line 3.
254 # regcomp.c [Perl_re_compile]
257 Sequence (?^-...) not recognized in regex; marked by <-- HERE in m/(?^- <-- HERE i:foo)/ at - line 2.