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.
目前,我允许有或没有 www。我需要添加允许一个额外的子域:
#http://site.com, #http://www.site.com, #http://embed.site.com
这是我目前拥有的:
#https?://(www\.)?site\.com/video/.*#i
使用这个正则表达式:
#https?://((?:www|embed)\.)?site\.com/video/.*#i