HOME


Mini Shell 1.0
DIR: /lib/python3/dist-packages/pygments/lexers/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/asc.cpython-312.pyc
�

|�ez��\�dZddlZddlmZmZddlmZmZmZm	Z	m
Z
mZdgZGd�de�Z
y)z�
    pygments.lexers.asc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for various ASCII armored files.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�
RegexLexer�bygroups)�Comment�Generic�Name�Operator�String�
Whitespace�AscLexerc	���eZdZdZdZddgZgd�Zgd�ZejZ
defdejd	fd
efgdefdeej"eee�fdejd
fd
efgd�Zd�Zy)rz�
    Lexer for ASCII armored files, containing `-----BEGIN/END ...-----` wrapped
    base64 data.

    .. versionadded:: 2.10
    z
ASCII armored�asc�pem)z*.ascz*.pem�id_dsa�id_ecdsa�id_ecdsa_sk�
id_ed25519�
id_ed25519_sk�id_rsa)zapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez!application/pem-certificate-chainz\s+z^-----BEGIN [^\n]+-----$�dataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$�root)rrc�2�tjd|�ryy)Nz^-----BEGIN [^\n]+-----\r?\nT)�re�search)�texts �5/usr/lib/python3/dist-packages/pygments/lexers/asc.py�analyse_textzAscLexer.analyse_text5s��
�9�9�4�d�;��<�N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenames�	mimetypesr�	MULTILINE�flagsr
r�Headingrrr�	Attributerr	�tokensr�rrrrs�����D��e�n�G��I�S�I�
�L�L�E��Z� �
(�'�/�/�6�B�
�W��
��Z� �
'�
�d�n�n�h�
�F�
C�
E�
&�����@�
�V��
�

�F�r)r!r�pygments.lexerrr�pygments.tokenrrrrr	r
�__all__rr+rr�<module>r/s+���
�/�O�O��,��%�z�%r