o ‡ÎÖaã@sNdZddlmZmZddlmZmZmZmZm Z m Z dgZ Gdd„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 ee j eƒfd e ee j eƒfd e eeeƒfd e 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Ús