Fix implicit link parsing.
Testing / mypy (push) Waiting to run Details
Testing / stability-extra-test (push) Waiting to run Details
Testing / pytest (push) Has been cancelled Details

This commit is contained in:
Sergio Martínez Portela 2024-02-21 23:00:59 +01:00
parent 985098e091
commit 4fd29819ea
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ LIST_ITEM_RE = re.compile(
r"(?P<indentation>\s*)((?P<bullet>[*\-+])|((?P<counter>\d|[a-zA-Z])(?P<counter_sep>[.)]))) ((?P<checkbox_indentation>\s*)\[(?P<checkbox_value>[ Xx])\])?((?P<tag_indentation>\s*)(?P<tag>.*?)::)?(?P<content>.*)"
)
IMPLICIT_LINK_RE = re.compile(r'(https?:[^<> ]*[a-zA-Z])')
IMPLICIT_LINK_RE = re.compile(r'(https?:[^<> ]*[a-zA-Z0-9])')
# Org-Babel
BEGIN_BLOCK_RE = re.compile(r"^\s*#\+BEGIN_(?P<subtype>[^ ]+)(?P<arguments>.*)$", re.I)