
    Mh                     X    d Z ddlmZmZ ddlmZmZmZmZm	Z	 dgZ
 G d de          ZdS )z
    pygments.lexers.sgf
    ~~~~~~~~~~~~~~~~~~~

    Lexer for Smart Game Format (sgf) file format.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    )
RegexLexerbygroups)NameLiteralStringPunctuation
WhitespaceSmartGameFormatLexerc                      e Zd ZdZdZdZdgZdgZdZdde	fd	e
j        fd
 ee	ej        e	          fd ee	ej        e	          fd ee	ee	          fd ee	ee	ee	          fd ee	ee	          fd ee	ee	          fdefg	iZdS )r
   z
    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).
    SmartGameFormatzhttps://www.red-bean.com/sgf/sgfz*.sgfz2.4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urlaliases	filenamesversion_addedr   r   Builtinr   r   NumberDater   r	   tokens     S/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/pygments/lexers/sgf.pyr
   r
      s         D
)CgG	IM 	%
 \ "Xk7>;??A 5Xk7<==? #Xk6;779 0Xk6;LLN ,Xk6;779Xk:{;;=Z 5
FFFr   N)r   pygments.lexerr   r   pygments.tokenr   r   r   r   r	   __all__r
   r   r   r   <module>r"      s     0 / / / / / / / I I I I I I I I I I I I I I!
"* * * * *: * * * * *r   