foot.ini+doc: add default value of url.regex

This commit is contained in:
Daniel Eklöf 2025-01-30 12:33:58 +01:00
parent d41b28bd02
commit 130b05f02b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 4 additions and 2 deletions

View file

@ -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));