From 4fb680cd9c8b3a42a89220318299d8d0106a58de Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 19 Nov 2004 19:47:39 +0000 Subject: [PATCH] Fix previous change. --- src/regex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 459c0ab26b1..a53eac29216 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2545,8 +2545,8 @@ regex_compile (pattern, size, syntax, bufp) re_char *p1 = p; /* If there's no special whitespace regexp, treat - spaces normally. */ - if (!whitespace_regexp) + spaces normally. And don't try to do this recursively. */ + if (!whitespace_regexp || in_subpattern) goto normal_char; /* Peek past following spaces. */ -- 2.39.2