https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/pygments/lexers/__pycache__/email.cpython-310.pyc
o

���a��@szdZddlmZmZmZddlmZddlmZm	Z	m
Z
mZmZm
Z
ddlmZdgZGdd�de�ZGd	d�de�Zd
S)z�
    pygments.lexers.email
    ~~~~~~~~~~~~~~~~~~~~~

    Lexer for the raw E-mail.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�DelegatingLexer�bygroups)�	MIMELexer)�Text�Keyword�Name�String�Number�Comment)�get_bool_opt�
EmailLexercseZdZdZ�fdd�Zdd�Zdejdfdefgd	ej	fd
ej	dfde
fd
e
fdejfdejfdejfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfde
jfdejfdeejejeje
jeje
jej�fd ej	fd!efgd"�Z�ZS)#�EmailHeaderLexerzm
    Sub-lexer for raw E-mail. This lexer only process header part of e-mail.

    .. versionadded:: 2.5
    cs$t�jdi|��t|dd�|_dS)Nzhighlight-X-headerF�)�super�__init__r�highlight_x��self�options��	__class__r�7/usr/lib/python3/dist-packages/pygments/lexers/email.pyrszEmailHeaderLexer.__init__ccs|�|jr"|�d�tj|�d�fV|j|�d�dd�}|EdHdS|�d�tj|�d�fV|�d�tj|�d�fVdS)N����root�header)�stack)	r�startr�Tag�group�get_tokens_unprocessedr�Special�	Multiline)r�match�default_actionsrrr�get_x_header_tokenss�
�z$EmailHeaderLexer.get_x_header_tokensz^(?:[A-WYZ]|X400)[\w\-]*:rz(^(X-(?:\w[\w\-]*:))([\s\S]*?\n)(?![ \t])z\n[ \t]z\n(?![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sat),\s+)?(0[1-9]|[1-2]?[0-9]|3[01])\s+(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+(19[0-9]{2}|[2-9][0-9]{3})\s+(2[0-3]|[0-1][0-9]):([0-5][0-9])(?::(60|[0-5][0-9]))?(?:\.\d{1,5})?\s+([-\+][0-9]{2}[0-5][0-9]|\(?(?:UTC?|GMT|(?:E|C|M|P)(?:ST|ET|DT)|[A-IK-Z])\)?)zN(=\?)([\w-]+)(\?)([BbQq])(\?)([\[\w!\"#$%&\'()*+,-./:;<=>@[\\\]^_`{|}~]+)(\?=)z[\s]+z[\S]r)�__name__�
__module__�__qualname__�__doc__rr'rr r�
Whitespacer�Label�Functionr
�Integer�Hex�	Decoratorrr	�Affix�Constant�tokens�
__classcell__rrrrrsr
�
������	�����rcs8eZdZdZdZddgZdgZdgZ�fdd�Z�Z	S)	r
z�
    Lexer for raw E-mail.

    Additional options accepted:

    `highlight-X-header`
        Highlight the fields of ``X-`` user-defined email header. (default:
        ``False``).

    .. versionadded:: 2.5
    zE-mail�email�emlz*.emlzmessage/rfc822cst�jtttfi|��dS)N)rrrrrrrrrr�szEmailLexer.__init__)
r(r)r*r+�name�aliases�	filenames�	mimetypesrr5rrrrr
�sN)r+�pygments.lexerrrr�pygments.lexers.mimer�pygments.tokenrrrr	r
r�
pygments.utilr�__all__rr
rrrr�<module>s
 p

https://t.me/RX1948 - 2025