R`i 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 /builddir/build/BUILDROOT/alt-python312-pip-23.3.1-3.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/pygments/regexopt.py