From: Mischa POSLAWSKY Date: Sat, 24 Jan 2015 22:35:30 +0000 (+0100) Subject: perl: fix syntax error in v5.14 feature /(?{})/ X-Git-Tag: v1.6~66 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/463971a7f09119922cecde3004581bfdc81b4388 perl: fix syntax error in v5.14 feature /(?{})/ Slashes don't nest. --- diff --git a/perl.inc.pl b/perl.inc.pl index 1ca3b4d..e412578 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -84,7 +84,7 @@ use utf8; new => [ ['s///r', 'non-destructive substitution'], ['/(?^)/', 'construct to reset to default modifiers'], - ['/(?{ m// })/', 'regular expressions can be nested in /(?{})/ and /(??{})/'], + ['/(?{ m() })/', 'regular expressions can be nested in /(?{})/ and /(??{})/'], ["use re '/flags'", 'customize default modifiers'], ['each $ref e.a.', 'array and hash container functions accept references'], ['FH->method', 'filehandle method calls load IO::File on demand (eg. STDOUT->flush)'],