File: //kunden/lib/python3/dist-packages/breezy/__pycache__/globbing.cpython-39.pyc
a
�*�^,1 � @ s� d Z ddlmZ ddlZddlmZ ddlmZmZ G dd� de �Z
e
� Ze�d d
� e�dd� e�d
d� e�dd� e�dd� e�dd� dd� Z
dd� Zdd� Ze
� Ze�dd� e�dd� e�ded�� e�d ed�� e�d!e� e
� Ze�d"e� e�d#e
� e�d$d� e�d%d&� e�d'd(� e�d)d*� e�d+d,� e�d-d.� e
� Ze�d#e
� e�d%d&� e�d'd(� e�d+d/� e�d-d0� d1d2� ZG d3d4� d4e �ZG d5d6� d6e �ZG d7d8� d8e�Ze�d9�Zd:d;� ZdS )<z�Tools for converting globs to regular expressions.
This module provides functions for converting shell-like globs to regular
expressions.
� )�absolute_importN� )�
lazy_regex)�mutter�warningc @ sD e Zd ZdZe�d�Zddd�Zdd� Zdd � Z d
d� Z
dd
� ZdS )�Replacera+ Do a multiple-pattern substitution.
The patterns and substitutions are combined into one, so the result of
one replacement is never substituted again. Add the patterns and
replacements via the add method and then call the object. The patterns
must not contain capturing groups.
�\\&Nc C s4 d | _ |r$t|j�| _t|j�| _ng | _g | _d S )N)�_pat�list�_pats�_funs)�self�source� r �1/usr/lib/python3/dist-packages/breezy/globbing.py�__init__/ s zReplacer.__init__c C s"