mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
url-mode: wip: regex: mention changes from original regex
This commit is contained in:
parent
031382f428
commit
6d344f82ee
1 changed files with 5 additions and 1 deletions
|
|
@ -380,7 +380,11 @@ regex_detected(const struct terminal *term, enum url_action action, url_list_t *
|
|||
}
|
||||
}
|
||||
|
||||
// https://gist.github.com/gruber/249502
|
||||
/*
|
||||
* Based on https://gist.github.com/gruber/249502, but modified:
|
||||
* - Do not allow {} at all
|
||||
* - Do allow matched []
|
||||
*/
|
||||
regex_t preg;
|
||||
const char *regex_string =
|
||||
"("
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue