From: K.Kosako Date: Thu, 21 Feb 2019 02:12:43 +0000 (+0900) Subject: allow if-then-else in look-behind and look-behind-not X-Git-Tag: v6.9.2_rc1~65^2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07acc90b75a8a6e3cc260ce62ac62a44e7305b14;p=onig allow if-then-else in look-behind and look-behind-not --- 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<