PATH:
opt
/
alt
/
python312
/
lib
/
python3.12
/
site-packages
/
pip
/
_vendor
/
pygments
/
__pycache__
� R`i� � �^ � d Z ddlZdgZ ej dej � Zd� Zdd�Zy)z� pygments.modeline ~~~~~~~~~~~~~~~~~ A simple modeline parser (based on pymodeline). :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N�get_filetype_from_bufferze (?: vi | vim | ex ) (?: [<=>]? \d* )? : .* (?: ft | filetype | syn | syntax ) = ( [^:\s]+ ) c �T � t j | � }|r|j d� S y )N� )�modeline_re�search�group)�l�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/modeline.py�get_filetype_from_liner s( � ����1��A���w�w�q�z�� � c �� � | j � }|d| dz d� D ] }t |� }|s�|c S t |dd� D ]% }|t |� k s�t || � }|s�#|c S y)zL Scan the buffer for modelines and return filetype if one is found. ���r N)� splitlinesr �range�len)�buf� max_lines�linesr �ret�is r r r sy � � �N�N��E� �2�y�j��l�2�%� &��$�Q�'����J� '� �9�b�"� %���s�5�z�>�(��q��2�C��� � &� r )� )�__doc__�re�__all__�compile�VERBOSEr r r � r r �<module>r sA ��� �%� &�� �b�j�j� � �Z�Z����r
[-] cmdline.cpython-312.pyc
[edit]
[-] __main__.cpython-312.pyc
[edit]
[-] unistring.cpython-312.pyc
[edit]
[-] regexopt.cpython-312.pyc
[edit]
[-] formatter.cpython-312.pyc
[edit]
[-] lexer.cpython-312.pyc
[edit]
[-] console.cpython-312.pyc
[edit]
[-] util.cpython-312.pyc
[edit]
[+]
..
[-] token.cpython-312.pyc
[edit]
[-] filter.cpython-312.pyc
[edit]
[-] modeline.cpython-312.pyc
[edit]
[-] style.cpython-312.pyc
[edit]
[-] sphinxext.cpython-312.pyc
[edit]
[-] __init__.cpython-312.pyc
[edit]
[-] plugin.cpython-312.pyc
[edit]
[-] scanner.cpython-312.pyc
[edit]