Python 2: regex to reject Windows dir names starting with (white)spaces and ending with (white)spaces or dots

前端 未结 0 500
傲寒
傲寒 2020-11-27 09:00

I want to match a Windows dir name. Basically the escape chars \\n\\t... plus the 9 characters \\/:*?"<>| are disallowed

相关标签:
回答
  • 消灭零回复
提交回复
热议问题