From 874d317334fae1ddce316f9b6f4d0ce4e434bf52 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Tue, 23 Jun 2026 21:34:41 -0700 Subject: heirloom vi fixes from arch AUR --- libuxre/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libuxre/regcomp.c') diff --git a/libuxre/regcomp.c b/libuxre/regcomp.c index 20a197d..4f6eb8c 100644 --- a/libuxre/regcomp.c +++ b/libuxre/regcomp.c @@ -52,7 +52,7 @@ regcomp(regex_t *ep, const char *pat, int flags) * doesn't, libuxre_regnfacomp() must be called first, if both are to * be called. */ - if (ep->re_nsub != 0 && (flags & (REG_NOSUB | REG_ONESUB)) == 0 + if ((ep->re_nsub != 0 && (flags & (REG_NOSUB | REG_ONESUB)) == 0) || lex.flags & REG_NFA) { ep->re_flags |= REG_NFA; -- cgit v1.2.3