File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/__pycache__/formats.cpython-310.pyc
Back
o ;j�4 � @ sD d Z ddlZddlZddlZddlZddlZddlZddlmZ ej r)ddlmZ e� e�ZdZe�de d ejejB �Zded efd d�ZdZe�d e� d�ej�Zded efdd�Zz#zddlmZ W n eyu ddlmZ Y nw ded efdd�Z W n ey� e�!d� ded efdd�Z Y nw ded efdd�Z"ded efdd�Z#d efdd�Z$G dd� d�Z%zdd l&m'Z( ded efd!d"�Z)W n ey� e%� Z)Y nw ded efd#d$�Z*ded efd%d&�Z+d'Z,e�d e,� d�ej�Z-d(Z.e�d e.� d�ej�Z/d)Z0e�d e0� d�ej�Z1ded efd*d+�Z2ded efd,d-�Z3ded efd.d/�Z4ded efd0d1�Z5ded efd2d3�Z6ded efd4d5�Z7ded efd6d7�Z8dej9d efd8d9�Z:dej9d efd:d;�Z;dej9d efd<d=�Z<dej9d efd>d?�Z9zdd@lm=Z> ded efdAdB�Z?W dS e�y� e�!dC� ded efdDdB�Z?Y dS w )Ea@ The functions in this module are used to validate schemas with the `format JSON Schema keyword <https://json-schema.org/understanding-json-schema/reference/string#format>`_. The correspondence is given by replacing the ``_`` character in the name of the function with a ``-`` to obtain the format name and vice versa. � N)�chain)�Literala� v? (?: (?:(?P<epoch>[0-9]+)!)? # epoch (?P<release>[0-9]+(?:\.[0-9]+)*) # release segment (?P<pre> # pre-release [-_\.]? (?P<pre_l>alpha|a|beta|b|preview|pre|c|rc) [-_\.]? (?P<pre_n>[0-9]+)? )? (?P<post> # post release (?:-(?P<post_n1>[0-9]+)) | (?: [-_\.]? (?P<post_l>post|rev|r) [-_\.]? (?P<post_n2>[0-9]+)? ) )? (?P<dev> # dev release [-_\.]? (?P<dev_l>dev) [-_\.]? (?P<dev_n>[0-9]+)? )? ) (?:\+(?P<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))? # local version z^\s*z\s*$�version�returnc C � t �| �duS )zpSee :ref:`PyPA's version specification <pypa:version-specifiers>` (initially introduced in :pep:`440`). N)� VERSION_REGEX�match)r � r �a/opt/saltstack/salt/lib/python3.10/site-packages/setuptools/config/_validate_pyproject/formats.py�pep440<