3

V'ícUã@sVdZddlZddlmZmZddlmZmZmZm	Z	m
Z
mZdgZGdd„deƒZ
dS)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eZdZdZdZddgZddddd	d
ddgZd
ddgZej	Z
defdej
dfdefgdefdeejeeeƒfdej
dfdefgdœZdd„ZdS)r
    Lexer for ASCII armored files, containing `-----BEGIN/END ...-----` wrapped
    base64 data.

    .. versionadded:: 2.10
    z
ASCII armoredZascZpemz*.ascz*.pemZid_dsaZid_ecdsaZid_ecdsa_skZ
id_ed25519Z
id_ed25519_skZid_rsazapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez\s+z^-----BEGIN [^\n]+-----$Údataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$Úroot)rrcCstjd|ƒrdSdS)Nz^-----BEGIN [^\n]+-----\r?\nT)ÚreÚsearch)Útext©rú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/asc.pyÚanalyse_text5szAscLexer.analyse_textN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚaliasesÚ	filenamesÚ	mimetypesr
Ú	MULTILINEÚflagsr	rZHeadingrrrÚ	AttributerrÚtokensrrrrrr
s&


)rr
Zpygments.lexerrrZpygments.tokenrrrrrr	Ú__all__r
rrrrÚ<module>	s