HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python311/lib/python3.11/site-packages/pygments/__pycache__/modeline.cpython-311.pyc
�

�;f���R�dZddlZdgZejdej��Zd�Zdd�ZdS)	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�h�t�|��}|r|�d��SdS)N�)�modeline_re�search�group)�l�ms  �D/opt/alt/python311/lib/python3.11/site-packages/pygments/modeline.py�get_filetype_from_liners7�����1���A����w�w�q�z�z�����c��|���}|d|dz
d�D]}t|��}|r|cS�t|dd��D]0}|t|��krt||��}|r|cS�1dS)zL
    Scan the buffer for modelines and return filetype if one is found.
    ���rN)�
splitlinesr�range�len)�buf�	max_lines�lines�line�ret�is      rrrs���
�N�N���E��b�)��A��b�(�)����$�T�*�*���	��J�J�J�	�
�9�b�"�
%�
%�����s�5�z�z�>�>�(��q��2�2�C��
��
�
�
���4r
)r)�__doc__�re�__all__�compile�VERBOSErrr�r
r�<module>r sp����
�	�	�	�%�
&���b�j���Z������������r