标签: regex regex-group
什么是更聪明的方式?
^word$|^word.php$|^word.asp$|^word.html$|^word.htm$
我不知道如何正确地对正则表达式进行分组,以免重复。