Skip to content

Commit

Permalink
filter out ' and | in names
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsumoto-ren committed Jun 5, 2024
1 parent 4bd5b84 commit 451a1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitsunekko_tools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def what(self) -> str:
raise NotImplementedError()


RE_FILENAME_PROHIBITED = re.compile(r"[ _\\\n\t\r#\[\]{}<>^*/:`?]+", flags=re.MULTILINE | re.IGNORECASE)
RE_FILENAME_PROHIBITED = re.compile(r"[ _\\\n\t\r#\[\]{}<>^*/:`?'|]+", flags=re.MULTILINE | re.IGNORECASE)


def fs_name_strip(name: str) -> str:
Expand Down

0 comments on commit 451a1c1

Please sign in to comment.