From 20885c5d0325750f5ddce613fb9191aff0623e4c Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Mon, 27 Dec 2021 16:00:12 +0000 Subject: [PATCH] use python regex instead of re for unicode handling --- notes2web.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/notes2web.py b/notes2web.py index 2e358d4..15f3a5d 100755 --- a/notes2web.py +++ b/notes2web.py @@ -10,7 +10,7 @@ import pathlib import pypandoc import shutil import os -import re +import regex as re import json diff --git a/requirements.txt b/requirements.txt index 3af4be9..728d73a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ pypandoc==1.5 python-frontmatter==1.0.0 python-magic==0.4.24 PyYAML==5.4.1 +regex==2021.11.10 soupsieve==2.2.1