forked from LBRYCommunity/lbry-sdk
too many \
This commit is contained in:
parent
3d9841b61a
commit
7c353b7d76
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ log = logging.getLogger(__name__)
|
||||||
|
|
||||||
RE_ILLEGAL_FILENAME_CHARS = re.compile(
|
RE_ILLEGAL_FILENAME_CHARS = re.compile(
|
||||||
r'('
|
r'('
|
||||||
r'[<>:"/\\\|\?\*]+|' # Illegal characters
|
r'[<>:"/\\|?*]+|' # Illegal characters
|
||||||
r'[\\x00-\\x1F]+|' # All characters in range 0-31
|
r'[\x00-\x1F]+|' # All characters in range 0-31
|
||||||
r'[ \t]*(\.)+[ \t]*$|' # Dots at the end
|
r'[ \t]*(\.)+[ \t]*$|' # Dots at the end
|
||||||
r'(^[ \t]+|[ \t]+$)|' # Leading and trailing whitespace
|
r'(^[ \t]+|[ \t]+$)|' # Leading and trailing whitespace
|
||||||
r'^CON$|^PRN$|^AUX$|' # Illegal names
|
r'^CON$|^PRN$|^AUX$|' # Illegal names
|
||||||
|
|
Loading…
Add table
Reference in a new issue