summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-16 08:27:23 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-06-16 08:27:23 +0200
commitafefe6bfcf9956c77e5f9eee351e3d13be12ea3b (patch)
treed26ebf97eda297fc663597c811d91327fa208c43 /embed.h
parent91490fbe1187ee0d1ab27187fe75104690120930 (diff)
downloadperl-afefe6bfcf9956c77e5f9eee351e3d13be12ea3b.tar.gz
Implement new regex escape \N
\N, like in Perl 6, is equivalent to . but not influenced by /s. It matches any character except \n. Note that followed by { and a non-number, \N is still a named character.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.h b/embed.h
index e320dc5654..9af17f6810 100644
--- a/embed.h
+++ b/embed.h
@@ -3756,7 +3756,7 @@
#define reg_node(a,b) S_reg_node(aTHX_ a,b)
#define reg_recode(a,b) S_reg_recode(aTHX_ a,b)
#define regpiece(a,b,c) S_regpiece(aTHX_ a,b,c)
-#define reg_namedseq(a,b) S_reg_namedseq(aTHX_ a,b)
+#define reg_namedseq(a,b,c) S_reg_namedseq(aTHX_ a,b,c)
#define reginsert(a,b,c,d) S_reginsert(aTHX_ a,b,c,d)
#define regtail(a,b,c,d) S_regtail(aTHX_ a,b,c,d)
#define reg_scan_name(a,b) S_reg_scan_name(aTHX_ a,b)