摘要: 正则分组匹配是由大括号开始数,比如下面的正则/Tickets/(\d+(a|A))/(page_(\d+)\.html)?$匹配下面一段文字/Tickets/5a/page_2.html结果是:Group1:5aGroup2:aGroup3:page_2.htmlGroup4:2 阅读全文