summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorHiroya Fujinami <[email protected]>2024-02-13 09:53:03 +0900
committer<[email protected]>2024-02-13 09:53:03 +0900
commit4a6384ed9358e8fb8464f6e37efb5477182f01db ()
tree94dc5e5c12d5c6dd8f297ac8055c6942011ec5ea /regcomp.c
parent8a345860d3d16b3bca74caf8ee1b405287873eed (diff)
Fix [Bug #20246]: Don't set next_head_exact if a capture is called (#9897)
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
@@ -3395,7 +3395,7 @@ next_setup(Node* node, Node* next_node, regex_t* reg)
}
else if (type == NT_ENCLOSE) {
EncloseNode* en = NENCLOSE(node);
- if (en->type == ENCLOSE_MEMORY) {
node = en->target;
goto retry;
}