Submit
Path:
~
/
/
usr
/
lib64
/
python3.6
/
site-packages
/
borg
/
__pycache__
/
File Content:
shellpattern.cpython-36.pyc
3 y��b � @ s d dl Z d dlZddd�ZdS )� N�\Zc C s� t jj}t| �}d}d}�xz||k �r�| | }|d7 }|dkr�|d |k r�| | dkr�| |d |kr�|d||f 7 }|d7 }n|d| 7 }q|dkr�|d | 7 }q|d k�r�|}||k r�| | dkr�|d7 }||k r�| | dkr�|d7 }x$||k �r| | dk�r|d7 }q�W ||k�r$|d 7 }n^| ||� jdd�}|d }|d dk�r`d|dd� }n|d dk�rvd| }|d| 7 }q|tj|�7 }qW d| | S )aY Translate a shell-style pattern to a regular expression. The pattern may include ``**<sep>`` (<sep> stands for the platform-specific path separator; "/" on POSIX systems) for matching zero or more directory levels and "*" for matching zero or more arbitrary characters with the exception of any path separator. Wrap meta-characters in brackets for a literal match (i.e. "[?]" to match the literal character "?"). Using match_end=regex one can give a regular expression that is used to match after the regex that is generated from the pattern. The default is to match the end of the string. This function is derived from the "fnmatch" module distributed with the Python standard library. Copyright (C) 2001-2016 Python Software Foundation. All rights reserved. TODO: support {alt1,alt2} shell-style alternatives r � � �*z(?:[^\%s]*\%s)*� z[^\%s]*�?z[^\%s]�[�!�]z\[�\z\\�^Nz[%s]z(?ms))�os�path�sep�len�replace�re�escape) ZpatZ match_endr �n�i�res�c�jZstuff� r �$/usr/lib64/python3.6/shellpattern.py� translate sB ( r )r )r r r r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-36.opt-1.pyc
289 bytes
0644
__init__.cpython-36.pyc
719 bytes
0644
__main__.cpython-36.opt-1.pyc
165 bytes
0644
__main__.cpython-36.pyc
165 bytes
0644
_version.cpython-36.opt-1.pyc
133 bytes
0644
_version.cpython-36.pyc
133 bytes
0644
archive.cpython-36.opt-1.pyc
61040 bytes
0644
archive.cpython-36.pyc
61249 bytes
0644
archiver.cpython-36.opt-1.pyc
177490 bytes
0644
archiver.cpython-36.pyc
178018 bytes
0644
cache.cpython-36.opt-1.pyc
40019 bytes
0644
cache.cpython-36.pyc
40279 bytes
0644
constants.cpython-36.opt-1.pyc
1870 bytes
0644
constants.cpython-36.pyc
1915 bytes
0644
fuse.cpython-36.opt-1.pyc
17457 bytes
0644
fuse.cpython-36.pyc
17531 bytes
0644
helpers.cpython-36.opt-1.pyc
81995 bytes
0644
helpers.cpython-36.pyc
82837 bytes
0644
locking.cpython-36.opt-1.pyc
13814 bytes
0644
locking.cpython-36.pyc
13888 bytes
0644
logger.cpython-36.opt-1.pyc
7593 bytes
0644
logger.cpython-36.pyc
7593 bytes
0644
lrucache.cpython-36.opt-1.pyc
1994 bytes
0644
lrucache.cpython-36.pyc
2191 bytes
0644
nanorst.cpython-36.opt-1.pyc
5565 bytes
0644
nanorst.cpython-36.pyc
5669 bytes
0644
patterns.cpython-36.opt-1.pyc
13541 bytes
0644
patterns.cpython-36.pyc
13541 bytes
0644
remote.cpython-36.opt-1.pyc
36814 bytes
0644
remote.cpython-36.pyc
37012 bytes
0644
repository.cpython-36.opt-1.pyc
49853 bytes
0644
repository.cpython-36.pyc
50395 bytes
0644
selftest.cpython-36.opt-1.pyc
3406 bytes
0644
selftest.cpython-36.pyc
3566 bytes
0644
shellpattern.cpython-36.opt-1.pyc
1775 bytes
0644
shellpattern.cpython-36.pyc
1775 bytes
0644
upgrader.cpython-36.opt-1.pyc
12017 bytes
0644
upgrader.cpython-36.pyc
12017 bytes
0644
version.cpython-36.opt-1.pyc
1948 bytes
0644
version.cpython-36.pyc
1948 bytes
0644
xattr.cpython-36.opt-1.pyc
11749 bytes
0644
xattr.cpython-36.pyc
11749 bytes
0644
N4ST4R_ID | Naxtarrr