From a3e187cbb5c9ef951152f18fee1d36c93e4abbe5 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 11 Oct 2020 16:39:24 +0300 Subject: Small improvement for regexp maybe_long criteria. --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') diff --git a/io.c b/io.c index 1fb95873..2714398e 100644 --- a/io.c +++ b/io.c @@ -3753,7 +3753,7 @@ again: * "abc" into the front of the next record. Ooops. * * The re->maybe_long member is true if the - * regex contains one of: + * ? |. This is a very + * regex contains one of: + * ? | { }. This is a very * simple heuristic, but in combination with the * "end of match within a few bytes of end of buffer" * check, should keep things reasonable. -- cgit v1.2.3