֦i * d dl Z d Zd Zd Zd Zd Zy) Nc * t t | S )N)
match_dirstranslate_corepatterns +/usr/lib64/python3.12/zipfile/_path/glob.py translater s nW-.. c | dS )zx
Ensure that zipfile.Path directory names are matched.
zipfile.Path directory names always end in a slash.
z[/]? r s r r r s itr
c R dj t t t | S )z
Given a glob pattern, produce a regex that matches it.
>>> translate('*.txt')
'[^/]*\\.txt'
>>> translate('a?txt')
'a.txt'
>>> translate('**/*')
'.*/[^/]*'
)joinmapreplaceseparater s r r r s 773w 1233r
c . t j d| S )z
Separate out character sets to avoid translating their contents.
>>> [m.group(0) for m in separate('*.txt')]
['*.txt']
>>> [m.group(0) for m in separate('a[?]txt')]
['a', '[?]', 'txt']
z+([^\[]+)|(?P