From: K.Kosako Date: Thu, 13 Jul 2017 00:14:31 +0000 (+0900) Subject: default generator lower should be 0 X-Git-Tag: v6.5.0^2~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32670afa5b5532760664a9d76c1c470250661a85;p=onig default generator lower should be 0 --- diff --git a/src/regparse.c b/src/regparse.c index 0964d3f..116b96c 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -1692,7 +1692,7 @@ make_absent_group_tree(Node** node, Node* absent_body, if (IS_NULL(generator)) { r = node_new_true_anychar(&step_body, env); if (r != 0) goto err1; - quant = node_new_quantifier(1, REPEAT_INFINITE, 0); + quant = node_new_quantifier(0, REPEAT_INFINITE, 0); } else { // TODO