AlkantarClanX12
Current Path : /proc/self/root/opt/alt/python311/lib64/python3.11/re/__pycache__/ |
Current File : //proc/self/root/opt/alt/python311/lib64/python3.11/re/__pycache__/_constants.cpython-311.opt-1.pyc |
� c��f* � � � d Z dZddlmZmZ G d� de� � Z G d� de� � Z eed� � Zd � Z e d � Z e dd�= e d ddddddddddd� � Z e dddddddd d!d"d#d$d%d&d'd(d)d*� � Ze eeeiZe eeeiZe eeeiZeeeeiZeeee iZ!ee"ee#iZ$e%e%e&e&e'e'e(e(e)e*e+e,e-e-e.e.iZ/e%e0e&e1e'e2e(e3e)e4e+e5e-e6e.e7iZ8d+Z9d,Z:d-Z;d.Z<d/Z=d0Z>d1Z?d2Z@d3ZAd+ZBd,ZCd-ZDdS )4zInternal support module for sreiNJ4� )� MAXREPEAT� MAXGROUPSc �( � � e Zd ZdZdZd� fd� Z� xZS )�errorai Exception raised for invalid regular expressions. Attributes: msg: The unformatted error message pattern: The regular expression pattern pos: The index in the pattern where compilation failed (may be None) lineno: The line corresponding to pos (may be None) colno: The column corresponding to pos (may be None) �reNc � �� || _ || _ || _ |�x|�vd||fz }t |t � � rd}nd}|� |d|� � dz | _ ||� |d|� � z | _ ||v rd|| j | j fz }nd x| _ | _ t � � � |� � d S )Nz%s at position %d� � r � z%s (line %d, column %d))�msg�pattern�pos� isinstance�str�count�lineno�rfind�colno�super�__init__)�selfr r r �newline� __class__s ��4/opt/alt/python311/lib64/python3.11/re/_constants.pyr zerror.__init__% s� �� ������������3�?�%��c� �2�C��'�3�'�'� ������!�-�-���C�8�8�1�<�D�K��w�}�}�W�a��=�=�=�D�J��'�!�!�/�3���T�Z�2P�P���'+�+�D�K�$�*� ����������� )NN)�__name__� __module__�__qualname__�__doc__r � __classcell__�r s @r r r sN �� � � � � � � � �J�� � � � � � � � � r r c �( � � e Zd Z� fd�Zd� ZdZ� xZS )�_NamedIntConstantc �h �� t t | � � � | |� � }||_ |S �N)r r# �__new__�name)�cls�valuer'