a
    ©lc+  ã                   @   sV   d Z ddlZddlmZmZ ddlmZmZmZm	Z	m
Z
mZ dgZG dd„ deƒZdS )zÑ
    pygments.lexers.asc
    ~~~~~~~~~~~~~~~~~~~

    Lexer for various ASCII armored files.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é    N)Ú
RegexLexerÚbygroups)ÚCommentÚGenericÚNameÚOperatorÚStringÚ
WhitespaceÚAscLexerc                   @   s‚   e Zd ZdZdZddgZg d¢Zg d¢Zej	Z
defdejd	fd
efgdefdeejeeeƒfdejdfd
efgdœZdd„ ZdS )r
   z~
    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)zapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez\s+z^-----BEGIN [^\n]+-----$Údataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$Úroot)r   r   c                 C   s   t  d| ¡rdS d S )Nz^-----BEGIN [^\n]+-----\r?\nT)ÚreÚsearch)Útext© r   úO/var/www/html/django/DPS/env/lib/python3.9/site-packages/pygments/lexers/asc.pyÚanalyse_text1   s    zAscLexer.analyse_textN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesr   Ú	MULTILINEÚflagsr	   r   ÚHeadingr   r   r   Ú	Attributer   r   Útokensr   r   r   r   r   r
      s"   
ý
üú)r   r   Zpygments.lexerr   r   Zpygments.tokenr   r   r   r   r   r	   Ú__all__r
   r   r   r   r   Ú<module>   s
   	 