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/_cocoa_builtins.py | |
parent | cffc5df62c258ca39fc7474f7197f2df33ab014f (diff) | |
download | pygments-git-regex.tar.gz |
all: convert "re" to "regex"regex
Diffstat (limited to 'pygments/lexers/_cocoa_builtins.py')
-rw-r--r-- | pygments/lexers/_cocoa_builtins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/_cocoa_builtins.py b/pygments/lexers/_cocoa_builtins.py index 5171139a..151b3ad1 100644 --- a/pygments/lexers/_cocoa_builtins.py +++ b/pygments/lexers/_cocoa_builtins.py @@ -17,7 +17,7 @@ COCOA_PRIMITIVES = {'ACErrorCode', 'ALCcontext_struct', 'ALCdevice_struct', 'ALM if __name__ == '__main__': # pragma: no cover import os - import re + import regex as re FRAMEWORKS_PATH = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/' frameworks = os.listdir(FRAMEWORKS_PATH) |