diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-06-16 08:27:23 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-06-16 08:27:23 +0200 |
commit | afefe6bfcf9956c77e5f9eee351e3d13be12ea3b (patch) | |
tree | d26ebf97eda297fc663597c811d91327fa208c43 /embed.h | |
parent | 91490fbe1187ee0d1ab27187fe75104690120930 (diff) | |
download | perl-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |