From 76d2c69b46a9db39e1ebe50a18bc34316f65d13c Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sun, 15 May 2022 17:23:47 +1000 Subject: [PATCH] [doc] allow monero (XMR) crypto addresses --- doc/lgspell.py | 2 +- doc/words.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/lgspell.py b/doc/lgspell.py index e0274e9e..eec74c7e 100755 --- a/doc/lgspell.py +++ b/doc/lgspell.py @@ -10,7 +10,7 @@ reoption = re.compile(r'^[a-z]+:\w+$') recamel = re.compile(r'^[A-Za-z]+[A-Z]\w+$') repackage = re.compile(r'^[\w-]+-(?:dev|bin)$|^fonts-[\w-]+-ttf$|^virt-manager$') repath = re.compile(r'^/dev/|.*\.\w+$') -recrypto = re.compile(r'^[13][A-Za-z0-9]{25,34}$|^0x[0-9a-fA-F]{40}$') +recrypto = re.compile(r'^[13][A-Za-z0-9]{25,34}$|^0x[0-9a-fA-F]{40}|^4([0-9]|[A-B])(.){93}$') class AcronymFilter(Filter): diff --git a/doc/words.txt b/doc/words.txt index d6ff9bff..fc2ce328 100644 --- a/doc/words.txt +++ b/doc/words.txt @@ -65,4 +65,3 @@ vsync wayland xdg xyene -XMR