a
�*�^� � @ sR d Z ddlmZ ddlZddlmZ G dd� dej�ZG dd � d e�Z d
d� Z
dS )a: Lazily compiled regex objects.
This module defines a class which creates proxy objects for regex
compilation. This allows overriding re.compile() to return lazily compiled
objects.
We do this rather than just providing a new interface so that it will also
be used by existing Python modules that create regexs.
� )�absolute_importN� )�errorsc @ s e Zd ZdZdd� ZdS )�InvalidPatternz!Invalid pattern(s) found. %(msg)sc C s
|| _ d S )N)�msg)�selfr � r �3/usr/lib/python3/dist-packages/breezy/lazy_regex.py�__init__&