diff options
author | Georg Brandl <georg@python.org> | 2022-10-27 07:18:16 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2022-10-27 12:15:22 +0200 |
commit | 629c448bdcbd7ca9f5d530c0ef10fa3bcd7ccbff (patch) | |
tree | 0d16b78a78b188e1f3ef28746b87ada37bdd804e /pygments/lexers/_csound_builtins.py | |
parent | cffc5df62c258ca39fc7474f7197f2df33ab014f (diff) | |
download | pygments-git-regex.tar.gz |
all: convert "re" to "regex"regex
Diffstat (limited to 'pygments/lexers/_csound_builtins.py')
-rw-r--r-- | pygments/lexers/_csound_builtins.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |