diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:34:41 -0700 |
| commit | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (patch) | |
| tree | 929f924d3c3696d3aa9917aca0e7048bbe3e93e8 /libuxre/regcomp.c | |
| parent | 15bd7946cc838a3151c357e4b0bc1ab85eecda62 (diff) | |
heirloom vi fixes from arch AUR
Diffstat (limited to 'libuxre/regcomp.c')
| -rw-r--r-- | libuxre/regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
