Commit 3b7e5f93 authored by mathieui's avatar mathieui

link plugin: fix regex for aesgcm and add gemini&gopher

parent 46d90bf8
Pipeline #3652 passed with stages
in 4 minutes and 55 seconds
......@@ -87,8 +87,17 @@ from poezio.xhtml import clean_text
from poezio import common
from poezio import tabs
url_pattern = re.compile(r'\b(?:http[s]?://(?:\S+))|(?:magnet:\?(?:\S+))|(?:aesgcm://(?:\Z+))\b',
re.I | re.U)
url_pattern = re.compile(
re.I | re.U
app_mapping = {
'Linux': 'xdg-open',
'Darwin': 'open',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment