diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2026-07-26 14:07:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-07-26 17:37:54 +0000 |
| commit | ef5ef6148fc2345b4a4fd2d5e6b775a423f360c3 (patch) | |
| tree | 00ef26caf4663a620651336c92a1da70bf226a50 /doc | |
| parent | doc: add fyi example configuration, as an alternative to notify-send (diff) | |
config: update default URL regex
* Allow single-quotes _inside_ URLs (but still not at the end)
* Require at least one character inside balanced parenthesis or
quotes.
Closes #2417
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index ce733b77..c7fe22c7 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -908,7 +908,7 @@ section. whole regex match to be used as an URL, surround all of it with parenthesis: *(regex-pattern)*. - Default: _(((https?://|mailto:|ftp://|file:|ssh:|ssh://|git://|tel:|magnet:|ipfs://|ipns://|gemini://|gopher://|news:)|www\.)([0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^\-]+|\([]\["0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^\-]\*')+([0-9a-zA-Z/#@$&\*+=~\_%^\-]|\([]\["0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]\*"|'[]\[\(\)0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^\-]\*'))_ + Default: _(((https?://|mailto:|ftp://|file:|ssh:|ssh://|git://|tel:|magnet:|ipfs://|ipns://|gemini://|gopher://|news:)|www\.)([0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^'\-]+|\([]\["0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+"|'[]\[\(\)0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^\-]+')+([0-9a-zA-Z/#@$&\*+=~\_%^\-]|\([]\["0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+\)|\[[\(\)"0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+\]|"[]\[\(\)0-9a-zA-Z:/?#@!$&'\*+,;=.~\_%^\-]+"|'[]\[\(\)0-9a-zA-Z:/?#@!$&\*+,;=.~\_%^\-]+'))_ # SECTION: regex |
