Compare commits

...
2 Commits
Author SHA1 Message Date
deepend-tildeclub 6639940001 Merge pull request #480 from ZoiteChat/fix-issue-451
fix Issue #451
2026-12-05 08:28:45 -06:00
deepend b409f1b4cf fix Issue #451 2026-12-05 08:04:19 -06:00
+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