Server IP : 15.235.198.142 / Your IP : 216.73.216.126 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/pygments/__pycache__/ |
Upload File : |
� |�e� � �^ � 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 �3/usr/lib/python3/dist-packages/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 s� � � �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