aboutsummaryrefslogtreecommitdiff
path: root/pattern.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-05-12 12:11:28 -0400
committerBruce Hill <bruce@bruce-hill.com>2022-05-12 12:11:28 -0400
commit56da250d69615d70774dbc361fa2693cca1e3df4 (patch)
treedbdeb2be018c5f10c13f721965b3bebff2283e88 /pattern.h
parente484a888151460ffc25a8478d9a9c9836652a35c (diff)
Split backref/named captures into separate concepts for performance
reasons.
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pattern.h b/pattern.h
index 89d57b8..16b9654 100644
--- a/pattern.h
+++ b/pattern.h
@@ -82,6 +82,7 @@ typedef struct pat_s {
struct pat_s *capture_pat;
const char *name;
size_t namelen;
+ bool backreffable;
} capture;
struct {
struct match_s *match;