summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-02-15 14:28:32 -0700
committerKarl Williamson <khw@cpan.org>2020-03-11 09:00:04 -0600
commitb1a91f306fb94c677de276c489b16fb5c5664544 (patch)
treef4ab6c438f8ff72189ada40a41432c44376efc05 /proto.h
parentffd8e5150761a7856dacc0c140fbd618377d71eb (diff)
downloadperl-b1a91f306fb94c677de276c489b16fb5c5664544.tar.gz
Implement \p{Name=/.../} wildcards
This commit adds wildcard subpatterns for the Name and Name Aliases properties.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 6d1e7f153b..63b67ea52a 100644
--- a/proto.h
+++ b/proto.h
@@ -5721,6 +5721,9 @@ PERL_STATIC_INLINE regnode_offset S_handle_named_backref(pTHX_ RExC_state_t *pRE
#define PERL_ARGS_ASSERT_HANDLE_NAMED_BACKREF \
assert(pRExC_state); assert(flagp); assert(parse_start)
#endif
+STATIC bool S_handle_names_wildcard(pTHX_ const char * wname, const STRLEN wname_len, SV ** prop_definition);
+#define PERL_ARGS_ASSERT_HANDLE_NAMES_WILDCARD \
+ assert(wname); assert(prop_definition)
STATIC int S_handle_possible_posix(pTHX_ RExC_state_t *pRExC_state, const char* const s, char ** updated_parse_ptr, AV** posix_warnings, const bool check_only);
#define PERL_ARGS_ASSERT_HANDLE_POSSIBLE_POSIX \
assert(pRExC_state); assert(s)