Removing html tags what is the difference between `*?` and `*`?
This question already has an answer here:
Question: Is the *?
in the expression is equivalent to *
.
No. The latter is the greedy quantifier that matches as much characters as possible. cf. http://www.regular-expressions.info/refrepeat.html
链接地址: http://www.djcxy.com/p/76912.html上一篇: RegEx重叠字符串