관리-도구
편집 파일: _constants.cpython-312.pyc
� �Q�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-ZDy)4zInternal support module for srei_�4� )� 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) �rec �X �� || _ || _ || _ |�u|�sd||fz }t |t � rd}nd}|j |d|� dz | _ ||j |d|� z | _ ||v r+d|| j | j fz }nd x| _ | _ 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.pyr zerror.__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__�r s @r r r s �� � � �J�� r r c �( � � e Zd Z� fd�Zd� ZdZ� xZS )�_NamedIntConstantc �>