diff options
author | Leistungsabfall <Leistungsabfall@users.noreply.github.com> | 2022-04-16 08:36:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 08:36:49 +0200 |
commit | 29392ea678456a46d741e3f4f6e32b9e58b1c2cd (patch) | |
tree | ddd130f493137fe464a7d8875c8b814f6c69be6e /tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_noanchor_nofilename.html | |
parent | 5b24b4ed57704955aab39d4d778cd6e8e57e3185 (diff) | |
download | pygments-git-29392ea678456a46d741e3f4f6e32b9e58b1c2cd.tar.gz |
Add lexer for colon-separated value config files like /etc/passwd, /etc/shadow and /etc/group (#2112)
* add PasswdLexer and ShadowLexer for lexing /etc/passwd and /etc/shadow
* fix regex
* Update pygments/lexers/configs.py
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* address review comments
* update _mapping.py
* Create united lexer UnixConfigLexer for config files using colon-separated values, typically used in Unix/Linux system config files.
* format docstring
* UnixConfigLexer: add whitespace detection
* add test snippets for UnixConfigLexer
* address review comment
Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
Co-authored-by: Leistungsabfall <–Leistungsabfall@users.noreply.github.com>
Diffstat (limited to 'tests/html_linenos_expected_output/table_nocls_step_2_start_1_special_0_noanchor_nofilename.html')
0 files changed, 0 insertions, 0 deletions