From 629c448bdcbd7ca9f5d530c0ef10fa3bcd7ccbff Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 27 Oct 2022 07:18:16 +0200 Subject: all: convert "re" to "regex" --- scripts/vim2pygments.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/vim2pygments.py') diff --git a/scripts/vim2pygments.py b/scripts/vim2pygments.py index ec9b63b7..42d7d52d 100755 --- a/scripts/vim2pygments.py +++ b/scripts/vim2pygments.py @@ -11,10 +11,11 @@ """ import sys -import re from os import path from io import StringIO +import regex as re + split_re = re.compile(r'(?