| 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 : |
a
SҼa6; � @ s� d dl Z d dlmZmZ d dlmZmZmZmZ d dl m
Z
mZmZm
Z
mZmZmZmZmZmZ d dlmZ g d�ZG dd� de�ZG d d
� d
e�ZG dd� de�ZG d
d� de�ZG dd� de�ZG dd� de�ZdS )� N)�guess_lexer�get_lexer_by_name)�
RegexLexer�bygroups�default�include)
�Text�Comment�Operator�Keyword�Name�String�Number�Generic�Literal�Punctuation)�
ClassNotFound)�IrcLogsLexer�TodotxtLexer� HttpLexer�GettextLexer�NotmuchLexer�KernelLogLexerc
@ s� e Zd ZdZdgZdgZdgZejej B Z
dZdefde d e
ejej�fde d e
ejej�d
fde d e
ejeej�fde d e
ejeee�fd
efgdejfdedfgd�ZdS )r zIRC logsZircz*.weechatlogz
text/x-irclogaf
(
# irssi / xchat and others
(?: \[|\()? # Opening bracket or paren for the timestamp
(?: # Timestamp
(?: (?:\d{1,4} [-/])* # Date as - or /-separated groups of digits
(?:\d{1,4})
[T ])? # Date/time separator: T or space
(?: \d?\d [:.])* # Time as :/.-separated groups of 1 or 2 digits
(?: \d?\d)
)
(?: \]|\))?\s+ # Closing bracket or paren for the timestamp
|
# weechat
\d{4}\s\w{3}\s\d{2}\s # Date
\d{2}:\d{2}:\d{2}\s+ # Time + Whitespace
|
# xchat
\w{3}\s\d{2}\s # Date
\d{2}:\d{2}:\d{2}\s+ # Time + Whitespace
)?
z^\*\*\*\*(.*)\*\*\*\*$�^z(\s*<[^>]*>\s*)$z/
(\s*<.*?>\s*) # Nick �msgzo
(\s*[*]\s+) # Star
(\S+\s+.*?\n) # Nick + rest of message z�
(\s*(?:\*{3}|<?-[!@=P]?->?)\s*) # Star(s) or symbols
(\S+\s+) # Nick + Space
(.*?\n) # Rest of message z^.*?\nz
\S+:(?!//)z.*\n�#pop)�rootr N)�__name__�
__module__�__qualname__�name�aliases� filenames� mimetypes�re�VERBOSE� MULTILINE�flagsZ timestampr r ZPreprocr �Tagr r ZInsertedr
r � Attribute�tokens� r+ r+ �</usr/lib/python3.9/site-packages/pygments/lexers/textfmts.pyr s.
�
�
����r c @ s� e Zd ZdZddgZddgZg d�Zddejfd ej fd
e
jfdee
eje
�fde
fd
eejee
�fdeejejejee
�fgiZdS )r zGettext CatalogZpotZpoz*.potz*.po)zapplication/x-gettextztext/x-gettextztext/gettextr z ^#,\s.*?$z ^#:\s.*?$z^(#|#\.\s|#\|\s|#~\s|#\s).*$z^(")([A-Za-z-]+:)(.*")$z^".*"$z0^(msgid|msgid_plural|msgstr|msgctxt)(\s+)(".*")$z^(msgstr\[)(\d)(\])(\s+)(".*")$N)r r r r r! r"