+
    TBiE                     V    R t ^ RIHtHtHt ^ RIHtHtHtH	t	H
t
 R.t ! R R]4      tR# )z
pygments.lexers.hexdump
~~~~~~~~~~~~~~~~~~~~~~~

Lexers for hexadecimal dumps.

:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)
RegexLexerbygroupsinclude)NameNumberStringPunctuation
WhitespaceHexdumpLexerc                      ] tR t^tRtRtR.tRtRtRt	RR]
3]! R	4      R
]	,           R,           ]	,           R,           ]! ]P                  ]]P                  4      3]	R,           ]P                  3R]! ]
]]]4      R3R]! ]
]]]4      R3R]! ]
]]]4      3R]! ]
]]]4      3R]! ]
]4      3R]! ]
]4      R3R]
3R]3.R	R]	,           R,           ]! ]P$                  ]4      R3R]	,           R,           ]P$                  3.RR]
R3]	R,           ]P$                  3R]3.RR]
3]! R	4      ]	R,           ]P                  3R ]! ]
]]]4      3R]
3R]3.RR]
3]! R	4      ]	R,           ]P                  3R!]! ]
]]]4      3R]
3R]3.RR]
3]! R	4      R
]	,           R,           ]	,           R,           ]! ]P                  ]]P                  4      3]	R,           ]P                  3R"]! ]
]4      3R#]! ]
]4      3R]
3R]3./tR$tR%# )&r
   a  
For typical hex dump output formats by the UNIX and GNU/Linux tools ``hexdump``,
``hd``, ``hexcat``, ``od`` and ``xxd``, and the DOS tool ``DEBUG``. For example:

.. sourcecode:: hexdump

    00000000  7f 45 4c 46 02 01 01 00  00 00 00 00 00 00 00 00  |.ELF............|
    00000010  02 00 3e 00 01 00 00 00  c5 48 40 00 00 00 00 00  |..>......H@.....|

The specific supported formats are the outputs of:

* ``hexdump FILE``
* ``hexdump -C FILE`` -- the `canonical` format used in the example.
* ``hd FILE`` -- same as ``hexdump -C FILE``.
* ``hexcat FILE``
* ``od -t x1z FILE``
* ``xxd FILE``
* ``DEBUG.EXE FILE.COM`` and entering ``d`` to the prompt.
Hexdumphexdumpz&https://en.wikipedia.org/wiki/Hex_dumpz2.1z[0-9A-Ha-h]rootz\noffset(z	{2})(\-)(z{2})z{2}z(\s{2,3})(\>)(.{16})(\<)$zbracket-stringsz(\s{2,3})(\|)(.{16})(\|)$zpiped-stringsz(\s{2,3})(\>)(.{1,15})(\<)$z(\s{2,3})(\|)(.{1,15})(\|)$z(\s{2,3})(.{1,15})$z(\s{2,3})(.{16}|.{20})$znonpiped-stringsz\sz^\*z^(z+)(:)zoffset-mode^+z#pop:z(\s{2,3})(\|)(.{1,16})(\|)$z(\s{2,3})(\>)(.{1,16})(\<)$z(\s{19,})(.{1,20}?)$z(\s{2,3})(.{1,20})$ N)__name__
__module____qualname____firstlineno____doc__namealiasesurlversion_addedhdr	   r   r   r   Hexr   r   r   Labeltokens__static_attributes__r       </usr/lib/python3.14/site-packages/pygments/lexers/hexdump.pyr
   r
      s   & DkG
2CM	B 	JH"W\!"$W,fjj+vzz:<Y

#)j+v{CEVX)j+v{C_V+j+v{CE+j+v{CE#Xj&%AB'*f)EGYZJ[!#
& 	2Xgx

K@-P"WS[$**%
 	J'VTZZ ;

 	JHY

#+j+v{CEJ[!
 	JHY

#+j+v{CEJ[!
 	JH"W\!"$W,fjj+vzz:<Y

#$hz6&BC#Xj&%ABJ[!

_:Fr#   N)r   pygments.lexerr   r   r   pygments.tokenr   r   r   r   r	   __all__r
   r   r#   r$   <module>r(      s.    9 8 H H
U: Ur#   