HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/sgf.cpython-310.pyc
o

���a�@sNdZddlmZmZddlmZmZmZmZm	Z	m
Z
dgZGdd�de�ZdS)z�
    pygments.lexers.sgf
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Smart Game Format (sgf) file format.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
RegexLexer�bygroups)�Name�Literal�String�Text�Punctuation�
Whitespace�SmartGameFormatLexerc
@s�eZdZdZdZdgZdgZddefdej	fde
eeje�fd	e
eej
e�fd
e
eee�fde
eeeee�fde
eee�fd
e
eee�fdefg	iZdS)r
a
    Lexer for Smart Game Format (sgf) file format.

    The format is used to store game records of board games for two players
    (mainly Go game).
    For more information about the definition of the format, see:
    https://www.red-bean.com/sgf/

    .. versionadded:: 2.4
    �SmartGameFormat�sgfz*.sgf�rootz[():;]+a(A[BW]|AE|AN|AP|AR|AS|[BW]L|BM|[BW]R|[BW]S|[BW]T|CA|CH|CP|CR|DD|DM|DO|DT|EL|EV|EX|FF|FG|G[BW]|GC|GM|GN|HA|HO|ID|IP|IT|IY|KM|KO|LB|LN|LT|L|MA|MN|M|N|OB|OM|ON|OP|OT|OV|P[BW]|PC|PL|PM|RE|RG|RO|RU|SO|SC|SE|SI|SL|SO|SQ|ST|SU|SZ|T[BW]|TC|TE|TM|TR|UC|US|VW|V|[BW]|C)z(\[)([0-9.]+)(\])z$(\[)([0-9]{4}-[0-9]{2}-[0-9]{2})(\])z(\[)([a-z]{2})(\])z(\[)([a-z]{2})(:)([a-z]{2})(\])z(\[)([\w\s#()+,\-.:?]+)(\])z(\[)(\s.*)(\])z\s+N)�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesrr�Builtinrr�Number�Daterr	�tokens�rr�5/usr/lib/python3/dist-packages/pygments/lexers/sgf.pyr
s>
���
��
�
���N)
r�pygments.lexerrr�pygments.tokenrrrrrr	�__all__r
rrrr�<module>s