OwlCyberSecurity - MANAGER
Edit File: regexopt.cpython-312.pyc
� ���g � � � 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-2024 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 �L/opt/hc_python/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py�<lambda>zmake_charset.<locals>.<lambda> s � ����� �)9� � �])� CS_ESCAPE�sub�join)�letterss r �make_charsetr s'