Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc

�

4Μg���^�dZddlZdgZejdej�Zd�Zdd�Zy)z�
    pygments.modeline
    ~~~~~~~~~~~~~~~~~

    A simple modeline parser (based on pymodeline).

    :copyright: Copyright 2006-2024 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�tj|�}|r|jd�Sy)N�)�modeline_re�search�group)�l�ms  �H/usr/local/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�|cSt|dd�D]%}|t|�ks�t||�}|s�#|cSy)zL
    Scan the buffer for modelines and return filetype if one is found.
    ���rN)�
splitlinesr�range�len)�buf�	max_lines�lines�line�ret�is      rrrsy��
�N�N��E��b�)��A��b�(�)��$�T�*����J�*��9�b�"�
%���s�5�z�>�(��q��2�C���
�	&�r
)�)�__doc__�re�__all__�compile�VERBOSErrr�r
r�<module>r sA���
�%�
&���b�j�j���Z�Z����r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists