Match URLs surrounded by parentheses
But include a pair of parentheses in the URL itself.
This commit is contained in:
parent
f3fa88ef92
commit
665b6912dc
2
url.c
2
url.c
@ -43,7 +43,7 @@ static const char *Pattern = {
|
||||
"telnet|"
|
||||
"vnc"
|
||||
")"
|
||||
":[^[:space:]>\"]+"
|
||||
":([^[:space:]>\"()]|[(][^)]*[)])+"
|
||||
};
|
||||
static regex_t Regex;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user