D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3
/
dist-packages
/
pygments
/
__pycache__
/
Filename :
regexopt.cpython-312.pyc
back
Copy
� |�e � � � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ej d� Z ed� Zd� Zd � Z dd �Zy)a pygments.regexopt ~~~~~~~~~~~~~~~~~ An algorithm that generates optimized regexes for matching long lists of literal strings. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)�escape)�commonprefix)�groupby)� itemgetterz[\[\^\\\-\]]c �Z � dt j d� dj | � � z dz S )N�[c �( � d| j � z S )N�\)�group)�ms �3/usr/lib/python3/dist-packages/pygments/regexopt.py�<lambda>zmake_charset.<locals>.<lambda> s � ����� �)9� � � �])� CS_ESCAPE�sub�join)�letterss r �make_charsetr s'