Your IP : 3.14.245.172


Current Path : /opt/alt/python312/lib64/python3.12/re/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/re/__pycache__/_constants.cpython-312.opt-1.pyc

�

�Q�f*���dZdZddlmZmZGd�de�ZGd�de�Zeed�Zd	�Z	e	d
�Z
e
dd�=e	d
ddddddddddd�Ze	dddddddd d!d"d#d$d%d&d'd(d)d*�Ze
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-ZDy)4zInternal support module for srei_�4�)�	MAXREPEAT�	MAXGROUPSc�(��eZdZdZdZd�fd�	Z�xZS)�erroraiException 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)
    �rec�X��||_||_||_|�u|�sd||fz}t|t�rd}nd}|j|d|�dz|_||j|d|�z
|_||vr+d||j|jfz}ndx|_|_t�|�)|�y)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/python312/lib64/python3.12/re/_constants.pyrzerror.__init__%s���������������3�?�%��c�
�2�C��'�3�'�����!�-�-���C�8�1�<�D�K��w�}�}�W�a��=�=�D�J��'�!�/�3����T�Z�Z�2P�P��'+�+�D�K�$�*�
�����)NN)�__name__�
__module__�__qualname__�__doc__r�
__classcell__�rs@rrrs���	��J��rrc�(��eZdZ�fd�Zd�ZdZ�xZS)�_NamedIntConstantc�>��tt|�||�}||_|S�N)rr#�__new__�name)�cls�valuer'rrs    �rr&z_NamedIntConstant.__new__9s#����&��4�S�%�@����	��rc��|jSr%)r')rs r�__repr__z_NamedIntConstant.__repr__>s���y�y�rN)rrrr&r+�
__reduce__r r!s@rr#r#8s����
��Jrr#rc���t|�D��cgc]\}}t||���}}}t�j|D�cic]}|j|��c}�|Scc}}wcc}wr%)�	enumerater#�globals�updater')�names�ir'�items�items     r�
_makecodesr5Es^��7@��7G�H�7G�G�A�t�
�q�$�
'�7G�E�H��I���%�8�%�$�d�i�i��o�%�8�9��L��
I��8s
�A�A")-�FAILURE�SUCCESS�ANY�ANY_ALL�ASSERT�
ASSERT_NOT�AT�BRANCH�CATEGORY�CHARSET�
BIGCHARSET�GROUPREF�GROUPREF_EXISTS�IN�INFO�JUMP�LITERAL�MARK�	MAX_UNTIL�	MIN_UNTIL�NOT_LITERAL�NEGATE�RANGE�REPEAT�
REPEAT_ONE�
SUBPATTERN�MIN_REPEAT_ONE�ATOMIC_GROUP�POSSESSIVE_REPEAT�POSSESSIVE_REPEAT_ONE�GROUPREF_IGNORE�	IN_IGNORE�LITERAL_IGNORE�NOT_LITERAL_IGNORE�GROUPREF_LOC_IGNORE�
IN_LOC_IGNORE�LITERAL_LOC_IGNORE�NOT_LITERAL_LOC_IGNORE�GROUPREF_UNI_IGNORE�
IN_UNI_IGNORE�LITERAL_UNI_IGNORE�NOT_LITERAL_UNI_IGNORE�RANGE_UNI_IGNORE�
MIN_REPEAT�
MAX_REPEAT���N�AT_BEGINNING�AT_BEGINNING_LINE�AT_BEGINNING_STRING�AT_BOUNDARY�AT_NON_BOUNDARY�AT_END�AT_END_LINE�
AT_END_STRING�AT_LOC_BOUNDARY�AT_LOC_NON_BOUNDARY�AT_UNI_BOUNDARY�AT_UNI_NON_BOUNDARY�CATEGORY_DIGIT�CATEGORY_NOT_DIGIT�CATEGORY_SPACE�CATEGORY_NOT_SPACE�
CATEGORY_WORD�CATEGORY_NOT_WORD�CATEGORY_LINEBREAK�CATEGORY_NOT_LINEBREAK�CATEGORY_LOC_WORD�CATEGORY_LOC_NOT_WORD�CATEGORY_UNI_DIGIT�CATEGORY_UNI_NOT_DIGIT�CATEGORY_UNI_SPACE�CATEGORY_UNI_NOT_SPACE�CATEGORY_UNI_WORD�CATEGORY_UNI_NOT_WORD�CATEGORY_UNI_LINEBREAK�CATEGORY_UNI_NOT_LINEBREAKr����� �@��)Er�MAGIC�_srerr�	Exceptionr�intr#r5�OPCODES�ATCODES�CHCODESrFrVrJrW�	OP_IGNORErZr[�OP_LOCALE_IGNOREr^r_�OP_UNICODE_IGNORErdrerirj�AT_MULTILINErgrlrhrm�	AT_LOCALErnro�
AT_UNICODErprqrrrsrtrxruryrvrw�	CH_LOCALErzr{r|r}r~rr�r��
CH_UNICODE�SRE_FLAG_TEMPLATE�SRE_FLAG_IGNORECASE�SRE_FLAG_LOCALE�SRE_FLAG_MULTILINE�SRE_FLAG_DOTALL�SRE_FLAG_UNICODE�SRE_FLAG_VERBOSE�SRE_FLAG_DEBUG�SRE_FLAG_ASCII�SRE_INFO_PREFIX�SRE_INFO_LITERAL�SRE_INFO_CHARSET�rr�<module>r�s���&�	��%�
�I��B	��	�
�i��5�	���0��b�B�C�L���'�)>��$��m�_��,��,�����*��*��(��2��0��2��2��0��:���"�^��#�
�	��
��'����
��'����#�
�K������(�
�	����(��
��N��*��N��*��$��,��*��2�	
�	��&��.��&��.��$��,��.��6�	�
������������������������r

?>