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" --- pygments/lexers/_csound_builtins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments/lexers/_csound_builtins.py') diff --git a/pygments/lexers/_csound_builtins.py b/pygments/lexers/_csound_builtins.py index b57043dc..dff747de 100644 --- a/pygments/lexers/_csound_builtins.py +++ b/pygments/lexers/_csound_builtins.py @@ -36,7 +36,7 @@ vbap1move # Opcodes in Csound 6.17.0 using: # python3 -c " -# import re +# import regex as re # from subprocess import Popen, PIPE # output = Popen(['csound', '--list-opcodes0'], stderr=PIPE, text=True).communicate()[1] # opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split() -- cgit v1.2.1