diff options
author | June McEnroe <june@causal.agency> | 2020-02-10 01:23:19 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-10 01:23:19 -0500 |
commit | 665b6912dcdd2c8dbc893bea12329134f174764e (patch) | |
tree | b9c4520d836c7f2ce7a0bdabfb7cc7e388d6a9d4 | |
parent | Fix M-a so it properly cycles back to where it started (diff) | |
download | catgirl-665b6912dcdd2c8dbc893bea12329134f174764e.tar.gz catgirl-665b6912dcdd2c8dbc893bea12329134f174764e.zip |
Match URLs surrounded by parentheses
But include a pair of parentheses in the URL itself.
-rw-r--r-- | url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/url.c b/url.c index 7ab1e53..1ccc206 100644 --- a/url.c +++ b/url.c @@ -43,7 +43,7 @@ static const char *Pattern = { "telnet|" "vnc" ")" - ":[^[:space:]>\"]+" + ":([^[:space:]>\"()]|[(][^)]*[)])+" }; static regex_t Regex; |