Merge pull request #480 from ZoiteChat/fix-issue-451

fix Issue #451
This commit is contained in:
deepend-tildeclub authored and GitHub committed 2026-12-05 08:28:45 -06:00
commit 6639940001
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