TEx d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ej d Z
ed Zd Zd Z
ddZdS )
a
pygments.regexopt
~~~~~~~~~~~~~~~~~
An algorithm that generates optimized regexes for matching long lists of
literal strings.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)escape)commonprefix)groupby)
itemgetterz[\[\^\\\-\]]c l dt d d | z dz S )N[c 0 d| z S )N\)group)ms }/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/pip/_vendor/pygments/regexopt.py