HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-37.pyc
B

L��g��@s6dZddlZdgZe�dej�Zdd�Zd	dd�ZdS)
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]+ )
cCst�|�}|r|�d�SdS)N�)�modeline_re�search�group)�l�m�r	�A/tmp/pip-unpacked-wheel-hv55ucu3/pip/_vendor/pygments/modeline.py�get_filetype_from_lines
r�cCsp|��}x,|d|dd�D]}t|�}|r|SqWx4t|dd�D]$}|t|�krDt||�}|rD|SqDWdS)zL
    Scan the buffer for modelines and return filetype if one is found.
    ���rN)�
splitlinesr�range�len)�buf�	max_lines�linesr�ret�ir	r	r
rs)r)�__doc__�re�__all__�compile�VERBOSErrrr	r	r	r
�<module>	s