mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-05 14:31:49 +00:00
fix Issue #451
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user