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/_cocoa_builtins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments/lexers/_cocoa_builtins.py') 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) -- cgit v1.2.1