File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/__pycache__/asc.cpython-310.pyc
Back
o ;j� � @ sV d Z ddlZddlmZmZ ddlmZmZmZm Z m Z mZ dgZG dd� de�Z dS )z� pygments.lexers.asc ~~~~~~~~~~~~~~~~~~~ Lexer for various ASCII armored files. :copyright: Copyright 2006-present by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � N)� RegexLexer�bygroups)�Comment�Generic�Name�Operator�String� Whitespace�AscLexerc @ s� e Zd ZdZdZddgZg d�Zg d�ZdZdZ e jZd e fd ejdfdefgd e fd eejee e�fdejdfdefgd�Zdd� ZdS )r zf Lexer for ASCII armored files, containing `-----BEGIN/END ...-----` wrapped base64 data. z ASCII armoredZascZpem)z*.ascz*.pemZid_dsaZid_ecdsaZid_ecdsa_skZ id_ed25519Z id_ed25519_skZid_rsa)zapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez!application/pem-certificate-chainzhttps://www.openpgp.orgz2.10z\s+z^-----BEGIN [^\n]+-----$�dataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$�root)r r c C s t �d| �rdS d S )Nz^-----BEGIN [^\n]+-----\r?\nT)�re�search)�text� r �G/opt/saltstack/salt/lib/python3.10/site-packages/pygments/lexers/asc.py�analyse_text5 s �zAscLexer.analyse_textN)�__name__� __module__�__qualname__�__doc__�name�aliases� filenamesZ mimetypes�urlZ version_addedr � MULTILINE�flagsr r ZHeadingr r r Z Attributer r �tokensr r r r r r s, �� ��)r r Zpygments.lexerr r Zpygments.tokenr r r r r r �__all__r r r r r �<module> s
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings