From 463971a7f09119922cecde3004581bfdc81b4388 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 24 Jan 2015 23:35:30 +0100 Subject: [PATCH] perl: fix syntax error in v5.14 feature /(?{})/ Slashes don't nest. --- perl.inc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)'], -- 2.30.0