�
|�e�� � �z � d Z ddlZddlmZmZmZmZmZmZm Z m
Z
ddlmZm
Z
mZmZmZmZmZmZmZmZmZmZ ddlmZ ddlmZ g d�Z G d� d e� Z G d
� de� Z G d� d
e� Z G d� de� Z G d� de� Z!d� Z" G d� de� Z# G d� de� Z$ G d� de� Z% G d� de� Z& G d� de� Z' G d� de� Z( G d� d e� Z) G d!� d"e� Z* G d#� d$e� Z+ G d%� d&e� Z, G d'� d(e� Z- G d)� d*e� Z. G d+� d,e� Z/ G d-� d.e� Z0 G d/� d0e� Z1 G d1� d2e� Z2 G d3� d4e� Z3y)5z�
pygments.lexers.configs
~~~~~~~~~~~~~~~~~~~~~~~
Lexers for configuration file formats.
:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�ExtendedRegexLexer�
RegexLexer�default�words�bygroups�include�using�line_re)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�
Whitespace�Literal�Error�Generic)� BashLexer)� JsonLexer)�IniLexer�SystemdLexer�DesktopLexer�RegeditLexer�PropertiesLexer�KconfigLexer�Cfengine3Lexer�ApacheConfLexer�SquidConfLexer�NginxConfLexer�LighttpdConfLexer�DockerLexer�TerraformLexer�TermcapLexer�
TerminfoLexer�PkgConfigLexer�PacmanConfLexer�AugeasLexer� TOMLLexer�NestedTextLexer�SingularityLexer�UnixConfigLexerc
� � e Zd ZdZdZg d�Zg d�ZddgZdefde j fd eee� fd
ee
j eeeeee� dfd ee
j eeee� fd
e
j fgdefd eeeee� fdedfgd�Zd� Zy)r z5
Lexer for configuration files in INI style.
�INI)�ini�cfg�dosini)z*.iniz*.cfgz*.infz
.editorconfigz
text/x-iniztext/inf�\s+�[;#].*z(\[.*?\])([ \t]*)$u0 (.*?)([ \t]*)([=:])([ \t]*)([^;#\n]*)(\\)(\s+)�valueu8 (.*?)([ \t]*)([=:])([ \t]*)([^ ;#\n]*(?: +[^ ;#\n]+)*)z(.+?)$z(\s*)(.*)(\\)([ \t]*)z.*$�#pop��rootr6 c �Z � | j d� }|dk ry| d dk( r| |dz
dk( ryy) N�
� Fr �[� �]g�������?)�find)�text�nposs �9/usr/lib/python3/dist-packages/pygments/lexers/configs.py�analyse_textzIniLexer.analyse_text> |