此时,最小组团就发挥作用了:正则引擎会放弃所有回溯位置。
At this point, the atomic group will kick in. The engine will discard all backtracking positions.
当正则引擎针对最小组团进行匹配时,它会跳过组团内标记的回溯位置。
When the regex engine matches an atomic group, it will discard backtracting positions that came with all tokens inside it.
当正则引擎针对最小组团进行匹配时,它会跳过组团内标记的回溯位置。
When the regex engine matches an atomic group, it will discard backtracting positions that came with all tokens inside it.
应用推荐