aboutsummaryrefslogtreecommitdiff
path: root/foot.ini
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-30 11:33:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-02-05 12:35:17 +0000
commit130b05f02baaebe533bb00cc2824ffb9902f11d3 (patch)
tree35b0014b5e2c60d7b2429b6edefb7c83f2c711e2 /foot.ini
parenturl-mode+config: wip: add url.regex option (diff)
foot.ini+doc: add default value of url.regex
Diffstat (limited to 'foot.ini')
-rw-r--r--foot.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/foot.ini b/foot.ini
index ae0002d4..85f3c861 100644
--- a/foot.ini
+++ b/foot.ini
@@ -69,7 +69,8 @@
# launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh
# osc8-underline=url-mode
-# regex=TODO
+# regex=([a-z][[:alnum:]-]+:(/{1,3}|[a-z0-9%])|www[:digit:]{0,3}[.])([^[:space:](){}<>]+|\(([^[:space:](){}<>]+|(\([^[:space:](){}<>]+\)))*\)|\[([^]\[[:space:](){}<>]+|(\[[^]\[[:space:](){}<>]+\]))*\])+(\(([^[:space:](){}<>]+|(\([^[:space:](){}<>]+\)))*\)|\[([^]\[[:space:](){}<>]+|(\[[^]\[[:space:](){}<>]+\]))*\]|[^]\[[:space:]`!(){};:'".,<>?«»“”‘’])
+
[cursor]