Ë Òƒ‘Kþ8Ëxãó–—dZddlZddlmZmZmZddlmZmZm Z m Z m Z m Z m Z mZgd¢ZGd„de«ZGd„d e«ZGd „d e«Zy) zË pygments.lexers.diff ~~~~~~~~~~~~~~~~~~~~ Lexers for diff/patch formats. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. éN)Ú RegexLexerÚincludeÚbygroups)ÚTextÚCommentÚOperatorÚKeywordÚNameÚGenericÚLiteralÚ Whitespace)Ú DiffLexerÚDarcsPatchLexerÚ WDiffLexerc óT—eZdZdZdZddgZddgZddgZd d ee e e «fd ee je «fd ee je «fd ee je «fdee je «fdee j e «fdee j e «fdee e «fgiZd„Zy)rz> Lexer for unified or context-style diffs or patches. ÚDiffÚdiffÚudiffz*.diffz*.patchz text/x-diffz text/x-patchÚrootz ( )(.*)(\n)z (!.*|---)(\n)z((?:< |-).*)(\n)z((?:> |\+).*)(\n)z*(@.*|\d(?:,\d+)?(?:a|c|d)\d+(?:,\d+)?)(\n)z((?:[Ii]ndex|diff).*)(\n)z (=.*)(\n)ú(.*)(\n)có:—|dddk(ry|dddk(ry|dddk(ryy) NézIndex: Tézdiff éz--- gÍÌÌÌÌÌì?©)Útexts ú9/usr/lib/python3.12/site-packages/pygments/lexers/diff.pyÚ analyse_textzDiffLexer.analyse_text.s:€Ø ��ˆ8�yÒ ØØ ��ˆ8�wÒ ØØ ��ˆ8�vÒ Øð óN)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesÚ mimetypesrr rr ÚStrongÚDeletedÚInsertedÚ SubheadingÚHeadingÚtokensrrrrrrsÝ„ñð €DØ�wЀGؘ9Ð%€IØ Ð/€Ið Ø ™X j°$¸ ÓCÐ DØ ™x¨¯©¸ ÓCÐ DØ ¡(¨7¯?©?¸JÓ"GÐ HØ !¡8¨G×,<Ñ,<¸jÓ#IÐ Jà=Ù˜×+Ñ+¨ZÓ8ð ð*©8°G·O±OÀZÓ+PÐ QØ ™8 G§O¡O°ZÓ@Ð AØ ™( 4¨Ó4Ð 5ð  ð€Fó rrcó0—eZdZdZdZdgZddgZdZdefdefd efd efd e ee e e e ee je e« fd e ee e e e ee je «d fdej fdej fdej fddj#e«ze e e ee «fdej&dfdej(dfde ee «fg defdedfgde dfdefged«dej&fdej&fged«dej(fdej(fgd œZy!)"rzä DarcsPatchLexer is a lexer for the various versions of the darcs patch format. Examples of this format are derived by commands such as ``darcs annotate --patch`` and ``darcs send``. .. versionadded:: 0.10 z Darcs PatchÚdpatchz*.dpatchz *.darcspatch)ÚhunkÚaddfileÚadddirÚrmfileÚrmdirÚmoveÚreplaceÚ<Ú>z\{z\}z/(\[)((?:TAG )?)(.*)(\n)(.*)(\*\*)(\d+)(\s?)(\])z+(\[)((?:TAG )?)(.*)(\n)(.*)(\*\*)(\d+)(\s?)Úcommentz New patches:zContext:zPatch bundle hash:z(\s*)(%s)(.*)(\n)Ú|z\+ÚinsertÚ-Údeleterz [^\]].*\nz\]ú#popz\nz \[_[^_]*_]Ú specialTextz\[z[^\n\[]+)rr9r?r;r=N)r r!r"r#r$r%r&ÚDPATCH_KEYWORDSrrr r r r ÚDater r,Újoinrr*r)rrr-rrrrr7s¢„ñð €D؈j€Gؘ^Ð,€Ið"€Oð �8Ð Ø �8Ð Ø �HÐ Ø �HÐ Ø ?Ù �h ¨¨z¸4ÀØ—l‘l J°ó:ð ;ð<Ù �h ¨¨z¸4ÀØ—l‘l Jó0Ø1:ð <ð˜gŸo™oÐ .Ø ˜'Ÿ/™/Ð *Ø " G§O¡OÐ 4Ø ! C§H¡H¨_Ó$=Ñ =Ù˜ W¨d°JÓ?ð Aà �G×$Ñ$ hÐ /Ø �7—?‘? HÐ -Ø ™( 4¨Ó4Ð 5ð% ð*˜7Ð #Ø �H˜fÐ %ð ð �J Ð 'Ø ˜HÐ %ð ñ �MÓ "Ø �G×$Ñ$Ð %Ø ˜'×*Ñ*Ð +ð ñ �MÓ "Ø �G—O‘OÐ $Ø ˜'Ÿ/™/Ð *ð ñE'�Frrc ó—eZdZdZdZdZdgZdgZgZe je jzZ dZ dZdZd Zd Ze ej&d feej(d feefd efge ej&dfeej&dfeej&dfeej&dfeej&fd ej&fgeej(dfe ej(dfeej(dfeej(dfeej(fd ej(fgdœZy)ra  A wdiff lexer. Note that: * It only works with normal output (without options like ``-l``). * If the target files contain "[-", "-]", "{+", or "+}", especially they are unbalanced, the lexer will get confused. .. versionadded:: 2.2 ÚWDiffz#https://www.gnu.org/software/wdiff/Úwdiffz*.wdiffz\{\+z\+\}z\[\-z\-\]z [^{}[\]+-]+ÚinsertedÚdeletedÚ.z#pushr>)rrFrGN)r r!r"r#r$Úurlr%r&r'ÚreÚ MULTILINEÚDOTALLÚflagsÚins_opÚins_clÚdel_opÚdel_clÚnormalr r*r)rr-rrrrrqsG„ñ ð €DØ /€C؈i€GØ� €IØ€Ià �L‰L˜2Ÿ9™9Ñ $€Eð €FØ €FØ €FØ €FØ €Fð�W×%Ñ% zÐ 2Ø �W—_‘_ iÐ 0Ø �TˆNØ �4ˆLð  ð�W×%Ñ% wÐ /Ø �W×%Ñ% wÐ /Ø �W×%Ñ% vÐ .à �W×%Ñ% vÐ .Ø �W×%Ñ%Ð &Ø �7×#Ñ#Ð $ð ð�W—_‘_ gÐ .Ø �W—_‘_ gÐ .Ø �W—_‘_ fÐ -à �W—_‘_ fÐ -Ø �W—_‘_Ð %Ø �7—?‘?Ð #ð ñ!�Frr)r#rJÚpygments.lexerrrrÚpygments.tokenrrrr r r r r Ú__all__rrrrrrÚrVsQðñó ç8Ñ8÷÷óò 9€ô � ô ôF7�jô7ôt7�õ7r