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';
66 Unrecognized escape \q passed through in regex; marked by <-- HERE in m/\q <-- HERE / at - line 4.
67 Unrecognized escape \q{ passed through in regex; marked by <-- HERE in m/\q{ <-- HERE / at - line 5.
69 # regcomp.c [S_regpposixcc S_checkposixcc]
71 use warnings 'regexp' ;
75 no warnings 'regexp' ;
79 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:alpha:] <-- HERE / at - line 5.
80 POSIX syntax [: :] belongs inside character classes in regex; marked by <-- HERE in m/[:zog:] <-- HERE / at - line 6.
82 # regcomp.c [S_checkposixcc]
84 use warnings 'regexp' ;
87 no warnings 'regexp' ;
90 POSIX syntax [. .] belongs inside character classes in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
91 POSIX syntax [. .] is reserved for future extensions in regex; marked by <-- HERE in m/[.zog.] <-- HERE / at - line 5.
93 # regcomp.c [S_regclass]
95 use warnings 'regexp' ;
103 /[[:alpha:]-[:digit:]]/;
104 /[[:digit:]-[:alpha:]]/;
105 no warnings 'regexp' ;
113 /[[:alpha:]-[:digit:]]/;
114 /[[:digit:]-[:alpha:]]/;
116 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 5.
117 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 6.
118 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 7.
119 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 8.
120 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 9.
121 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 10.
122 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 11.
123 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 12.
125 # regcomp.c [S_regclassutf8]
127 if (ord("\t") == 5) {
128 print "SKIPPED\n# ebcdic regular expression ranges differ.";
134 use warnings 'regexp' ;
142 /[[:alpha:]-[:digit:]]/;
143 /[[:digit:]-[:alpha:]]/;
144 no warnings 'regexp' ;
152 /[[:alpha:]-[:digit:]]/;
153 /[[:digit:]-[:alpha:]]/;
155 False [] range "a-\d" in regex; marked by <-- HERE in m/[a-\d <-- HERE ]/ at - line 12.
156 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE b]/ at - line 13.
157 False [] range "\s-" in regex; marked by <-- HERE in m/[\s- <-- HERE \d]/ at - line 14.
158 False [] range "\d-" in regex; marked by <-- HERE in m/[\d- <-- HERE \s]/ at - line 15.
159 False [] range "a-[:digit:]" in regex; marked by <-- HERE in m/[a-[:digit:] <-- HERE ]/ at - line 16.
160 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE b]/ at - line 17.
161 False [] range "[:alpha:]-" in regex; marked by <-- HERE in m/[[:alpha:]- <-- HERE [:digit:]]/ at - line 18.
162 False [] range "[:digit:]-" in regex; marked by <-- HERE in m/[[:digit:]- <-- HERE [:alpha:]]/ at - line 19.
164 # regcomp.c [S_regclass S_regclassutf8]
165 use warnings 'regexp' ;
167 no warnings 'regexp' ;
170 Unrecognized escape \z in character class passed through in regex; marked by <-- HERE in m/[a\z <-- HERE b]/ at - line 3.
174 use warnings 'regexp' ;
183 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
185 no warnings 'regexp' ;
194 $a = qr/(?o-cg)/; # (?c) means (?g) error won't be thrown
198 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?c <-- HERE )/ at - line 3.
199 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?-c <-- HERE )/ at - line 4.
200 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE )/ at - line 5.
201 Useless (?-g) - don't use /g modifier in regex; marked by <-- HERE in m/(?-g <-- HERE )/ at - line 6.
202 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE )/ at - line 7.
203 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?-o <-- HERE )/ at - line 8.
204 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -o)/ at - line 9.
205 Useless (?-o) - don't use /o modifier in regex; marked by <-- HERE in m/(?g-o <-- HERE )/ at - line 9.
206 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?g <-- HERE -c)/ at - line 10.
207 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?g-c <-- HERE )/ at - line 10.
208 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE -cg)/ at - line 11.
209 Useless (?-c) - don't use /gc modifier in regex; marked by <-- HERE in m/(?o-c <-- HERE g)/ at - line 11.
210 Useless (?o) - use /o modifier in regex; marked by <-- HERE in m/(?o <-- HERE gc)/ at - line 12.
211 Useless (?g) - use /g modifier in regex; marked by <-- HERE in m/(?og <-- HERE c)/ at - line 12.
212 Useless (?c) - use /gc modifier in regex; marked by <-- HERE in m/(?ogc <-- HERE )/ at - line 12.
214 # regcomp.c [S_regatom]
217 Missing right brace on \o{ in regex; marked by <-- HERE in m/\o{ <-- HERE / at - line 2.
219 # regcomp.c [S_regatom]
222 Missing braces on \o{} in regex; marked by <-- HERE in m/\o <-- HERE / at - line 2.
224 # regcomp.c [S_regatom]
227 Number with no digits in regex; marked by <-- HERE in m/\o{} <-- HERE / at - line 2.
229 # regcomp.c [S_regclass]
232 Missing right brace on \o{ in regex; marked by <-- HERE in m/[\o{ <-- HERE ]/ at - line 2.
234 # regcomp.c [S_regclass]
237 Missing braces on \o{} in regex; marked by <-- HERE in m/[\o <-- HERE ]/ at - line 2.
239 # regcomp.c [S_regclass]
242 Number with no digits in regex; marked by <-- HERE in m/[\o{} <-- HERE ]/ at - line 2.
244 # regcomp.c [S_regclass]
245 use warnings 'regexp' ;
247 $a = qr/[\_\0]/; # Should have no warnings on this and the remainder of this test
251 no warnings 'regexp' ;
254 Unrecognized escape \8 in character class passed through in regex; marked by <-- HERE in m/[\8 <-- HERE \9]/ at - line 3.
255 Unrecognized escape \9 in character class passed through in regex; marked by <-- HERE in m/[\8\9 <-- HERE ]/ at - line 3.
257 # regcomp.c [Perl_re_compile]
260 Sequence (?^-...) not recognized in regex; marked by <-- HERE in m/(?^- <-- HERE i:foo)/ at - line 2.
262 # regcomp.c [S_regclass]
263 use warnings 'regexp' ;
266 no warnings 'regexp' ;
270 \p uses Unicode rules, not locale rules in regex; marked by <-- HERE in m/(?^l:\p <-- HERE L)/ at - line 3.
271 \P uses Unicode rules, not locale rules in regex; marked by <-- HERE in m/(?^l:\P <-- HERE L)/ at - line 4.