From 07acc90b75a8a6e3cc260ce62ac62a44e7305b14 Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Thu, 21 Feb 2019 11:12:43 +0900 Subject: [PATCH] allow if-then-else in look-behind and look-behind-not --- src/regcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regcomp.c b/src/regcomp.c index 31f3760..7573e1b 100644 --- a/src/regcomp.c +++ b/src/regcomp.c @@ -4335,8 +4335,8 @@ setup_anchor(Node* node, regex_t* reg, int state, ScanEnv* env) | NODE_BIT_CTYPE | NODE_BIT_ANCHOR | NODE_BIT_BAG | NODE_BIT_QUANT \ | NODE_BIT_CALL | NODE_BIT_GIMMICK) -#define ALLOWED_BAG_IN_LB ( 1<