summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 8b5a7bb337..4788dfe69c 100644
--- a/regexp.h
+++ b/regexp.h
@@ -105,6 +105,8 @@ typedef struct regexp {
HV *paren_names; /* Optional hash of paren names */
} regexp;
+#define RXp_PAREN_NAMES(rx) ((rx)->paren_names)
+
/* used for high speed searches */
typedef struct re_scream_pos_data_s
{