This commit is contained in:
deepend committed 2026-12-05 08:04:19 -06:00
1 parent 5cfb186b11
commit b409f1b4cf
1 file changed
+2 -1
+2 -1
View File
@@ -545,11 +545,12 @@ make_re (const char *grist)
#define LPAR "\\("
#define RPAR "\\)"
#define NOPARENS "[^() \t]*"
/* Match non-parenthesized characters individually to avoid nested repetition. */
#define PATH \
"(" \
"(" LPAR NOPARENS RPAR ")" \
"|" \
"(" NOPARENS ")" \
"[^() \t]" \
")*" /* Zero or more occurrences of either of these */ \
"(?<![.,?!\\]])" /* Not allowed to end with these */
struct