@@ -176,7 +176,7 @@ my @death =
176176 ' /(?/' => ' Sequence (? incomplete {#} m/(?{#}/' ,
177177
178178 ' /(?;x/' => ' Sequence (?;...) not recognized {#} m/(?;{#}x/' ,
179- ' /(?<;x /' => ' Group name must start with a non-digit word character {#} m/(?<;{#}x /' ,
179+ ' /(?<;name>match) /' => ' Group name must start with a non-digit word character {#} m/(?<;{#}name>match) /' ,
180180 ' /(?\ix/' => ' Sequence (?\...) not recognized {#} m/(?\{#}ix/' ,
181181 ' /(?\mx/' => ' Sequence (?\...) not recognized {#} m/(?\{#}mx/' ,
182182 ' /(?\:x/' => ' Sequence (?\...) not recognized {#} m/(?\{#}:x/' ,
@@ -222,7 +222,7 @@ my @death =
222222 ' /\g{-abc}/' => ' Group name must start with a non-digit word character {#} m/\g{-{#}abc}/' ,
223223 ' /\g{1-1}/' => ' Sequence \g{... not terminated {#} m/\g{1{#}-1}/' ,
224224 ' /\g{ -1 foo }/' => ' Sequence \g{... not terminated {#} m/\g{ -1 {#}foo }/' ,
225- ' /(?<;x /' => ' Group name must start with a non-digit word character {#} m/(?<;{#}x /' ,
225+ ' /(?<;name>match) /' => ' Group name must start with a non-digit word character {#} m/(?<;{#}name>match) /' ,
226226
227227 ' my $m = "\\ \"; $m =~ $m' , => ' Trailing \ in regex m/\/' ,
228228
@@ -310,7 +310,7 @@ my @death =
310310 ' m/(?&a/' => ' Sequence (?&... not terminated {#} m/(?&a{#}/' ,
311311 ' m/(?P=/' => ' Sequence ?P=... not terminated {#} m/(?P={#}/' ,
312312 " m/(?'/" => " Sequence (?'... not terminated {#} m/(?'{#}/" ,
313- " m/(?</" => " Sequence (?<... not terminated {#} m/(?<{#}/" ,
313+ " m/(?<name) /" => " Sequence (?<... not terminated {#} m/(?<name {#}) /" ,
314314 ' m/(?&/' => ' Sequence (?&... not terminated {#} m/(?&{#}/' ,
315315 ' m/(?(</' => ' Sequence (?(<... not terminated {#} m/(?(<{#}/' ,
316316 " m/(?('/" => " Sequence (?('... not terminated {#} m/(?('{#}/" ,
@@ -485,7 +485,7 @@ my @death_utf8 = mark_as_utf8(
485485 ' /γ(?/' => ' Sequence (? incomplete {#} m/γ(?{#}/' ,
486486
487487 ' /γ(?;γ/' => ' Sequence (?;...) not recognized {#} m/γ(?;{#}γ/' ,
488- ' /γ(?<;γ/' => ' Group name must start with a non-digit word character {#} m/γ(?<;{#}γ/' ,
488+ ' /γ(?<;name>match) γ/' => ' Group name must start with a non-digit word character {#} m/γ(?<;{#}name>match) γ/' ,
489489 ' /γ(?\ixγ/' => ' Sequence (?\...) not recognized {#} m/γ(?\{#}ixγ/' ,
490490 ' /γ(?^lu:γ)/' => ' Regexp modifiers "l" and "u" are mutually exclusive {#} m/γ(?^lu{#}:γ)/' ,
491491' /γ(?lil:γ)/' => ' Regexp modifier "l" may not appear twice {#} m/γ(?lil{#}:γ)/' ,
0 commit comments