mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
foot.ini+doc: add default value of url.regex
This commit is contained in:
parent
d41b28bd02
commit
130b05f02b
3 changed files with 4 additions and 2 deletions
1
config.c
1
config.c
|
|
@ -1239,6 +1239,7 @@ parse_section_url(struct context *ctx)
|
|||
regex_t preg;
|
||||
|
||||
int r = regcomp(&preg, regex, REG_EXTENDED);
|
||||
|
||||
if (r != 0) {
|
||||
char err_buf[128];
|
||||
regerror(r, &preg, err_buf, sizeof(err_buf));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue