/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/lexers/__pycache__
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/pygments/lexers/__pycache__/hexdump.cpython-313.pyc (3620B)
jE T S r SSKJrJrJr SSKJrJrJrJ r J
r
S/r " S S\5 rg)z
pygments.lexers.hexdump
~~~~~~~~~~~~~~~~~~~~~~~
Lexers for hexadecimal dumps.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)
RegexLexerbygroupsinclude)NameNumberStringPunctuation
WhitespaceHexdumpLexerc \ \ rS rSrSrSrS/rSrSrSr S\
4\" S 5 S
\ - S- \ - S- \" \
R \\
R 5 4\ S
- \
R 4S\" \
\\\5 S4S\" \
\\\5 S4S\" \
\\\5 4S\" \
\\\5 4S\" \
\5 4S\" \
\5 S4S\
4S\4/S\ - S- \" \R$ \5 S4S\ - S- \R$ 4/S\
S4\ S- \R$ 4S\4/S\
4\" S 5 \ S
- \
R 4S \" \
\\\5 4S\
4S\4/S\
4\" S 5 \ S
- \
R 4S!\" \
\\\5 4S\
4S\4/S\
4\" S 5 S
\ - S- \ - S- \" \
R \\
R 5 4\ S
- \
R 4S"\" \
\5 4S#\" \
\5 4S\
4S\4/S$.rS%rg&)'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.
Hexdumphexdumpz&https://en.wikipedia.org/wiki/Hex_dumpz2.1z[0-9A-Ha-h]z\noffset(z {2})(\-)(z{2})z{2}z(\s{2,3})(\>)(.{16})(\<)$bracket-stringsz(\s{2,3})(\|)(.{16})(\|)$
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})$nonpiped-stringsz\sz^\*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})$)rootr r r r r N)__name__
__module____qualname____firstlineno____doc__namealiasesurl
version_addedhdr
r r r Hexr r r Labeltokens__static_attributes__r J/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/lexers/hexdump.pyr r s &