排除所有不是 ASCII 的字符
/[^\x00-\x7F]+/
Filetags 搜尋
/-- (?=.*art)(?=.*gallery).*/
Filename
def replacement(title):
return re.sub(r'[/\\:*<>"|]', '_', title)
Front matter
Flags
--colour
-o
-n
/[^\x00-\x7F]+/
/-- (?=.*art)(?=.*gallery).*/
def replacement(title):
return re.sub(r'[/\\:*<>"|]', '_', title)
--colour
-o
-n