/(?>[^<>]+)/
应该如何解释?(PHP RegExp Engine)
谢谢。
(?> # I had to look this up, but apparently this syntax prevents the regex
# parser from backtracking into whatever is matched in this group if
# the rest of the pattern fails
[^<>]+ # match ANY character except '<' or '>', 1 or more times.
) # close non-backtrackable group.
如果您对只使用一次的模式感兴趣,请查看http://www.regextester.com/pregsyntax.html
Once-only subpatterns
部分。