| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pygments/lexers/__pycache__/ |
Upload File : |
�
�E�cU � �d � d Z ddlZddlmZmZ ddlmZmZmZm Z m
Z
mZ dgZ G d� 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 � � e Zd ZdZdZddgZg d�Zg d�Zej Z
defdej
d fd
efgdefd eej eee� � fdej
d
fd
efgd�Zd� ZdS )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)zapplication/pgp-keyszapplication/pgp-encryptedzapplication/pgp-signaturez\s+z^-----BEGIN [^\n]+-----$�dataz\S+z^([^:]+)(:)([ \t]+)(.*)z^-----END [^\n]+-----$�root)r r c �4 � t j d| � � rdS d S )Nz^-----BEGIN [^\n]+-----\r?\nT)�re�search)�texts �5/usr/lib/python3/dist-packages/pygments/lexers/asc.py�analyse_textzAscLexer.analyse_text5 s&