JS 正则表达式中小括号的应用
2016-07-27
44
主要使用的有下面三种:1. (...)Grouping. Group items into a single unit that can be used with *, +, ?, |, and so on. Also remember the characters that match this group for use with later references.2. (?:...)Grouping only. Group items into a ...