403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pygments/lexers/__pycache__/markup.cpython-39.pyc
a

SҼaqh�@sldZddlZddlmZmZddlmZddlmZddl	m
Z
mZmZm
Z
mZmZmZmZmZddlmZmZmZmZmZmZmZmZmZmZddlmZm Z gd	�Z!Gd
d�de
�Z"Gdd
�d
e
�Z#Gdd�de
�Z$Gdd�de
�Z%Gdd�de
�Z&Gdd�de
�Z'Gdd�de'�Z(Gdd�de�Z)Gdd�de�Z*Gdd�de�Z+Gdd�de
�Z,Gd d!�d!e
�Z-dS)"z�
    pygments.lexers.markup
    ~~~~~~~~~~~~~~~~~~~~~~

    Lexers for non-HTML markup languages.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�	HtmlLexer�XmlLexer)�JavascriptLexer)�CssLexer)	�
RegexLexer�DelegatingLexer�include�bygroups�using�this�
do_insertions�default�words)
�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�Generic�Other)�get_bool_opt�
ClassNotFound)�BBCodeLexer�
MoinWikiLexer�RstLexer�TexLexer�
GroffLexer�MozPreprocHashLexer�MozPreprocPercentLexer�MozPreprocXulLexer�MozPreprocJavascriptLexer�MozPreprocCssLexer�
MarkdownLexer�TiddlyWiki5Lexerc@sheZdZdZdZdgZdgZdefdedfdefgd	efd
e	e
jee
�fde	ee
�fded
fgd�ZdS)rzR
    A lexer that highlights BBCode(-like) syntax.

    .. versionadded:: 0.6
    ZBBCodeZbbcodez
text/x-bbcodez[^[]+z\[/?\w+�tagz\[�\s+z(\w+)(=)("?[^\s"\]]+"?)z(=)("?[^\s"\]]+"?)z\]�#pop)�rootr'N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	mimetypesrrr	r�	Attributerr�tokens�r4r4�:/usr/lib/python3.9/site-packages/pygments/lexers/markup.pyrs$�����rc@s�eZdZdZdZddgZgZdgZej	ej
BZdefde
ee�fde
ejee�eje�fd	e
ejej�d
fdefde
eeje�fd
e
eeje�fdefde
eee�fdefdefdefdefg
dejdfdedfdejfdejfgd�ZdS)rzI
    For MoinMoin (and Trac) Wiki markup.

    .. versionadded:: 0.7
    zMoinMoin/Trac Wiki markupz	trac-wikiZmoinztext/x-trac-wikiz^#.*$z(!)(\S+)z^(=+)([^=]+)(=+)(\s*#.+)?$z(\{\{\{)(\n#!.+)?�	codeblockz(\'\'\'?|\|\||`|__|~~|\^|,,|::)z^( +)([.*-])( )z^( +)([a-z]{1,5}\.)( )z\[\[\w+.*?\]\]z(\[[^\s\]]+)(\s+[^\]]+?)?(\])z^----+$z[^\n\'\[{!_~^,|]+�\n�.z\}\}\}r)z\{\{\{z#pushz[^{}]+)r*r6N)r+r,r-r.r/r0�	filenamesr1�re�	MULTILINE�
IGNORECASE�flagsrr	rrr�Headingr
rrr�Builtin�	Namespace�Preprocr3r4r4r4r5r>s<�
��
��rc@szeZdZdZdZgd�ZddgZddgZej	Z
dd	�Zd
ZdZ
de�e
�e�e�fZd
eejeejeeje�fdeejeeje�fdeeeeedd��fdeeeeedd��fdeeeeedd��fdeeeeedd��fdeeeeedd��fdeeeeedd��fdefdeeeejeeeedd��fdeeeejeedd��fdeeeejeedd��fdeeeejeejeeeedd��fdejfdeeeje�fdeeedd�eedd��fdeej eeeee�fe!d�gd efd!ed"fd#eeej"e�fd$efd%eej#ej$�fd&eej$ej#�fd'ej%fd(ej&fd)efd*ejfd+efd,efgd-efd!eed.fd/efgd0�Z'd1d2�Z(d3d4�Z)d5S)6ra�
    For `reStructuredText <http://docutils.sf.net/rst.html>`_ markup.

    .. versionadded:: 0.7

    Additional options accepted:

    `handlecodeblocks`
        Highlight the contents of ``.. sourcecode:: language``,
        ``.. code:: language`` and ``.. code-block:: language``
        directives with a lexer for the given language (default:
        ``True``).

        .. versionadded:: 0.8
    ZreStructuredText)ZrestructuredtextZrst�restz*.rstz*.restz
text/x-rstztext/prs.fallenstein.rstc
	cs�ddlm}|�d�t|�d�fV|�d�t|�d�fV|�d�tj|�d�fV|�d�t|�d�fV|�d�t|�d�fV|�d�t|�d�fV|�d	�t|�d	�fVd}|j	r�z||�d��
��}Wnty�Yn0|�d
�}t|�}||�d�|�d�|�d
�}|du�r>|�d
�t
|fVdSg}|�d�}d}|D]P}	t|	�|k�r�|�t|�dt|	d|�fgf�||	|d�7}n||	7}�qTt||�|��EdHdS)Nr��get_lexer_by_name���������	�
�T�)�pygments.lexersrD�startr�grouprr�Wordr�handlecodeblocks�stripr�lenr�
splitlines�appendr�get_tokens_unprocessed)
�self�matchrD�lexerZ	indentionZindention_size�codeZinsZ	codelines�liner4r4r5�_handle_sourcecode�s:
"

"zRstLexer._handle_sourcecodeu'")]}>’”»!?u‐‑‒–— z((?=$)|(?=[-/:.,; \n\x00%s%s]))zH^(=+|-+|`+|:+|\.+|\'+|"+|~+|\^+|_+|\*+|\++|#+)([ \t]*\n)(.+)(\n)(\1)(\n)zc^(\S.*)(\n)(={3,}|-{3,}|`{3,}|:{3,}|\.{3,}|\'{3,}|"{3,}|~{3,}|\^{3,}|_{3,}|\*{3,}|\+{3,}|#{3,})(\n)z!^(\s*)([-*+])( .+\n(?:\1  .+\n)*)�inline��statez1^(\s*)([0-9#ivxlcmIVXLCM]+\.)( .+\n(?:\1  .+\n)*)z4^(\s*)(\(?[0-9#ivxlcmIVXLCM]+\))( .+\n(?:\1  .+\n)*)z$^(\s*)([A-Z]+\.)( .+\n(?:\1  .+\n)+)z*^(\s*)(\(?[A-Za-z]+\))( .+\n(?:\1  .+\n)+)z^(\s*)(\|)( .+\n(?:\|  .+\n)*)zl^( *\.\.)(\s*)((?:source)?code(?:-block)?)(::)([ \t]*)([^\n]+)(\n[ \t]*\n)([ \t]+)(.*)(\n)((?:(?:\8.*)?\n)+)z,^( *\.\.)(\s*)([\w:-]+?)(::)(?:([ \t]*)(.*))z'^( *\.\.)(\s*)(_(?:[^:\\]|\\.)+:)(.*?)$z^( *\.\.)(\s*)(\[.+\])(.*?)$z9^( *\.\.)(\s*)(\|.+\|)(\s*)([\w:-]+?)(::)(?:([ \t]*)(.*))z^ *\.\..*(\n( +.*\n|\n)+)?z+^( *)(:(?:\\\\|\\:|[^:\n])+:(?=\s))([ \t]*)z!^(\S.*(?<!::)\n)((?:(?: +.*)\n)+)z2(::)(\n[ \t]*\n)([ \t]+)(.*)(\n)((?:(?:\3.*)?\n)+)�\\.z``�literalz(`.+?)(<.+?>)(`__?)z`.+?`__?z(`.+?`)(:[a-zA-Z0-9:-]+?:)?z(:[a-zA-Z0-9:-]+?:)(`.+?`)z\*\*.+?\*\*z\*.+?\*z\[.*?\]_z<.+?>z
[^\\\n\[*`:]+r8z[^`]+r)�`)r*rarecKs$t|dd�|_tj|fi|��dS�NrUT�rrUr�__init__�r[�optionsr4r4r5riszRstLexer.__init__cCs�|dd�dkr$|dd�dkr$dS|�d�}|�d|d�}|dkr�|dd|kr�||dd	vr�||d||dkr�d
SdS)NrFz..rGr8g333333�?�
rE���z-=g�?)�find)�textZp1Zp2r4r4r5�analyse_texts 
���zRstLexer.analyse_textN)*r+r,r-r.r/r0r9r1r:r;r=r`ZclosersZunicode_delimiters�escapeZend_string_suffixr	rr>rrr
rrrrTr�TagrrA�Classr�EscaperZInterpol�Variabler2�Strong�Emphr3rirpr4r4r4r5rks�)������������
����������:������Rrc
@seZdZdZdZddgZgd�ZddgZdefd	e	j
fd
e	j
fgdejdfd
edfdejdfdedfde
dfde
fed�defgde	jfed�defdefde	j
fgdedfdedfed�gdedfdedfde	j
fed�gde	jfde
fed�gd�Zd d!�Zd"S)#rz<
    Lexer for the TeX and LaTeX typesetting languages.
    ZTeXZtexZlatex)z*.texz*.auxz*.tocz
text/x-texztext/x-latexz%.*?\nz[{}]z[&_^]z\\\[�displaymathz\\\(�
inlinemathz\$\$z\$z\\([a-zA-Z]+|.)�commandz\\$�generalz
[^\\$%&_^{}]+�[0-9]+z[-=!+*/()\[\]]z[^=!+*/()\[\]\\$%&_^{}0-9-]+z\\\)r)�mathz\\\]z\[.*?\]z\*)r{r*r}ryrxrzcCs(dD]}|dt|��|krdSqdS)N)z\documentclassz\inputz\documentstylez\relaxT)rW)rorRr4r4r5rpEszTexLexer.analyse_textN)r+r,r-r.r/r0r9r1rrr?r�Backtickrrrrurrr2r
r3rpr4r4r4r5rsN�

������)rc
@s�eZdZdZdZgd�ZddgZddgZdee	e
�d	fd
ed	fde	dfed�ge
d
�de	fde	dfgdefdejfdejfdejfdejfde	d	fgde	dfe
d
�dejfdefdefde	fgd�Zdd�ZdS)rz�
    Lexer for the (g)roff typesetting language, supporting groff
    extensions. Mainly useful for highlighting manpage sources.

    .. versionadded:: 0.6
    ZGroff)ZgroffZnroffZmanz*.[1234567]z*.manzapplication/x-troffz
text/troffz	(\.)(\w+)�requestz\.z[^\\\n]+�textline�escapesr7r)z	\\"[^\n]*z\\[fn]\wz\\\(.{2}z	\\.\[.*\]rdz\\\nz	"[^\n"]+"z\d+z\S+r()r*r�r�rcCs`|dd�dkrdS|dd�dkr(dS|dd�dkr<dS|dd���r\|d��r\d	SdS)
NrEr8FrGz.\"TrHz.TH g�������?)�isalnum�isspace)ror4r4r5rpyszGroffLexer.analyse_textN)r+r,r-r.r/r0r9r1r	rrrr
rrrrt�Doublerr3rpr4r4r4r5rLs<���
�� rc
@s�eZdZdZdZegZgZgZdej	dfde
fgdeej	e�dfe
d�ej	d	fge
d
�efdeee�fdefd
ejfdejfdejfdefded	fdefdefg
d�ZdS)r z�
    Lexer for Mozilla Preprocessor files (with '#' as the marker).

    Other data is left untouched.

    .. versionadded:: 2.0
    Zmozhashpreprocz^#��expr�	exprstart�.+z
(literal)(.*)z#pop:2)ZdefineZundef�ifZifdefZifndef�else�elifZelifdefZelifndefZendif�expand�filterZunfilterrZincludesubst�errorr))�!z!=z==z&&z||z
(defined)(\()z\)r|z__\w+?__z@\w+?@z\w+r7r(z\S)r*r�r�N)r+r,r-r.r/r0r9r1rrArr	rrrrrrZDecimalrrursr3r4r4r4r5r �s2
���	
��r c@s:eZdZdZdZegZgZgZddej	dfde
fgiZdS)r!z�
    Lexer for Mozilla Preprocessor files (with '%' as the marker).

    Other data is left untouched.

    .. versionadded:: 2.0
    Zmozpercentpreprocr*z^%r�r�N)r+r,r-r.r/r0r9r1rrArr3r4r4r4r5r!�s
��r!cs4eZdZdZdZdgZdgZgZ�fdd�Z�Z	S)r"z�
    Subclass of the `MozPreprocHashLexer` that highlights unlexed data with the
    `XmlLexer`.

    .. versionadded:: 2.0
    zXUL+mozpreproczxul+mozpreprocz*.xul.incst�jttfi|��dS�N)�superrirr rj��	__class__r4r5ri�szMozPreprocXulLexer.__init__�
r+r,r-r.r/r0r9r1ri�
__classcell__r4r4r�r5r"�sr"cs4eZdZdZdZdgZdgZgZ�fdd�Z�Z	S)r#z�
    Subclass of the `MozPreprocHashLexer` that highlights unlexed data with the
    `JavascriptLexer`.

    .. versionadded:: 2.0
    zJavascript+mozpreproczjavascript+mozpreprocz*.js.incst�jttfi|��dSr�)r�rirr rjr�r4r5ri�sz"MozPreprocJavascriptLexer.__init__r�r4r4r�r5r#�sr#cs4eZdZdZdZdgZdgZgZ�fdd�Z�Z	S)r$z�
    Subclass of the `MozPreprocHashLexer` that highlights unlexed data with the
    `CssLexer`.

    .. versionadded:: 2.0
    zCSS+mozpreproczcss+mozpreprocz*.css.incst�jttfi|��dSr�)r�rirr!rjr�r4r5ri�szMozPreprocCssLexer.__init__r�r4r4r�r5r$�sr$c@s�eZdZdZdZddgZddgZdgZej	Z
dd	�Zd
ee
je�fdee
je�fdee
jee
je�fd
ee
jee
je�fdeeeeeedd��fdeeeeeedd��fdeeeeedd��fdeee
j�fdejfdefed�gdefdeeej�fdeee
j�fdeee
j�fdeee
j�fdeee
j�fdeee
j�fdejfdeeejeeeje�fdeeejeeeje�fd eeejeej�fd!efd"efg
d#�Zd$d%�Z d&S)'r%zt
    For `Markdown <https://help.github.com/categories/writing-on-github/>`_ markup.

    .. versionadded:: 2.2
    ZMarkdownZmarkdownZmdz*.mdz
*.markdownztext/x-markdownccs�ddlm}|�d�tj|�d�fV|�d�tj|�d�fV|�d�t|�d�fVd}|jr�z||�d����}Wnt	y�Yn0|�d�}|dur�|�d�t|fVnt
g|�|��EdH|�d�tj|�d�fVdS�	zV
        match args: 1:backticks, 2:lang_name, 3:newline, 4:code, 5:backticks
        rrCrErFrGNrHrI)rQrDrRrr~rSrrUrVrrrZ�r[r\rDr]r^r4r4r5�_handle_codeblock�s
zMarkdownLexer._handle_codeblockz(^#[^#].+)(\n)z(^#{2,6}[^#].+)(\n)z^(.+)(\n)(=+)(\n)z^(.+)(\n)(-+)(\n)z^(\s*)([*-] )(\[[ xX]\])( .+\n)rarbz^(\s*)([*-])(\s)(.+\n)z^(\s*)([0-9]+\.)( .+\n)z^(\s*>\s)(.+\n)z^(\s*```\n[\w\W]*?^\s*```$\n)z(^(\s*```)(\w+)(\n)([\w\W]*?)(^\s*```$\n)rdz([^`]?)(`[^`\n]+`)z ([^\*]?)(\*\*[^* \n][^*\n]*\*\*)z([^_]?)(__[^_ \n][^_\n]*__)z([^\*]?)(\*[^* \n][^*\n]*\*)z([^_]?)(_[^_ \n][^_\n]*_)z([^~]?)(~~[^~ \n][^~\n]*~~)z[@#][\w/:]+z (!?\[)([^]]+)(\])(\()([^)]+)(\))z(\[)([^]]+)(\])(\[)([^]]*)(\])z^(\s*\[)([^]]*)(\]:\s*)(.+)z[^\\\s]+r8)r*racKs$t|dd�|_tj|fi|��dSrgrhrjr4r4r5riZszMarkdownLexer.__init__N)!r+r,r-r.r/r0r9r1r:r;r=r�r	rr>r�
Subheadingrr
rrwrr~rrv�DeletedrZEntityrrr2ZLabelr3rir4r4r4r5r%�s^���������@r%c@s�eZdZdZdZdgZdgZdgZej	Z
dd�Zdd	�Zd
e
eeej�fde
eje�fde
eje�fd
e
eeeeedd��fde
eee�fde
ej�fde
ej�fde
ej�fde
ej�fde
eee�fdefdefed�ed�gedddd�efgdefdejfde
eeje�fd e
eej�fd!e
eej�fd"e
eej�fd#e
eeje�fd$e
eeje�fd%ejfd&ejfd'ejfd(ejfd)ejfd*ejfd+ej fd,e
eeje�fd-e
eejeej!e�fd.e
eeje�fd/e
ej!�fd0efd1efgd2�Z"d3d4�Z#d5S)6r&zf
    For `TiddlyWiki5 <https://tiddlywiki.com/#TiddlerFiles>`_ markup.

    .. versionadded:: 2.7
    Ztiddler�tidz*.tidztext/vnd.tiddlywikiccs�ddlm}|�d�t|�d�fV|�d�t|�d�fV|�d�t|�d�fVd}|jr�z||�d����}Wnty�Yn0|�d�}|dur�|�d�t|fVdSt	g|�
|��EdH|�d�t|�d�fVdSr�)rQrDrRrrSrrUrVrrrZr�r4r4r5r�ks 
z"TiddlyWiki5Lexer._handle_codeblockccs�ddlm}|�d�t|�d�fV|�d�t|�d�fVd}|jrfz|d�}WntydYn0|�d�}|dur�|�d�t|fVdStg|�|��EdH|�d�t|�d�fVdS)	zP
        match args: 1:style tag 2:newline, 3:code, 4:closing style tag
        rrCrErFNZcssrGrH)	rQrDrRrrSrUrrrZr�r4r4r5�_handle_cssblock�s
z!TiddlyWiki5Lexer._handle_cssblockz^(title)(:\s)(.+\n)z^(!)([^!].+\n)z^(!{2,6})(.+\n)z^(\s*)([*#>]+)(\s*)(.+\n)rarbz^(<<<.*\n)([\w\W]*?)(^<<<.*$)z^(\|.*?\|h)$z^(\|.*?\|[cf])$z^(\|.*?\|k)$z^(;.*)$z^(```\n)([\w\W]*?)(^```$)z ^(```)(\w+)(\n)([\w\W]*?)(^```$)z$^(<style>)(\n)([\w\W]*?)(^</style>$)�keywords)z\definez\endZcaptionZcreatedZmodified�tags�title�type�^z\b)�prefix�suffixrdz\d{17}z(\s)(//[^/]+//)((?=\W|\n))z(\s)(\^\^[^\^]+\^\^)z(\s)(,,[^,]+,,)z(\s)(__[^_]+__)z(\s)(''[^']+'')((?=\W|\n))z(\s)(~~[^~]+~~)((?=\W|\n))z	<<[^>]+>>z
\$\$[^$]+\$\$z
\$\([^)]+\)\$z^@@.*$z	</?[^>]+>z`[^`]+`z&\S*?;z(\[{2})([^]\|]+)(\]{2})z$(\[{2})([^]\|]+)(\|)([^]\|]+)(\]{2})z(\{{2})([^}]+)(\}{2})z(\b.?.?tps?://[^\s"]+)z[\w]+r8)r*r�racKs$t|dd�|_tj|fi|��dSrgrhrjr4r4r5ri�szTiddlyWiki5Lexer.__init__N)$r+r,r-r.r/r0r9r1r:r;r=r�r�r	rrrr>r�r
rrrvrwrrrrrrZIntegerr�r~ZRegexr2r3rir4r4r4r5r&_s~�����������Ur&).r.r:Zpygments.lexers.htmlrrZpygments.lexers.javascriptrZpygments.lexers.cssrZpygments.lexerrrrr	r
rrr
rZpygments.tokenrrrrrrrrrrZ
pygments.utilrr�__all__rrrrrr r!r"r#r$r%r&r4r4r4r5�<module>s*
,0!-(:8)m

Youez - 2016 - github.com/yon3zu
LinuXploit