Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何接受 url 参数中的任何字符?
(?P<slug>[-\w]+)
以上仅接受破折号和字母字符。
点匹配任何字符:
(?P<slug>.+)