# 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.Zd1Z?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))msgpatternpos
isinstancestrcountlinenorfindcolnosuper__init__)selfr r
r newline __class__s 4/opt/alt/python311/lib64/python3.11/re/_constants.pyr zerror.__init__% s 3?%c
2C'3''
!--C881