Match URLs surrounded by parentheses

But include a pair of parentheses in the URL itself.
weechat-hashes
C. McEnroe 2020-02-10 01:23:19 -05:00
parent f3fa88ef92
commit 665b6912dc
1 changed files with 1 additions and 1 deletions

2
url.c
View File

@ -43,7 +43,7 @@ static const char *Pattern = {
"telnet|" "telnet|"
"vnc" "vnc"
")" ")"
":[^[:space:]>\"]+" ":([^[:space:]>\"()]|[(][^)]*[)])+"
}; };
static regex_t Regex; static regex_t Regex;