Translate

.{1} — Matches between {2} and {3} times, {4} {5}
{1} — Matches between {2} and {3} times, {4} {5}
SourceTranslationState
10
(*MARK:NAME) or (*:NAME) is used to track how a match was arrived at. Name is always required, but it doesn't need to be unique. When used in conjunction with the /K modifier, pcretest can return the mark together with a successful match.
(*MARK:NAME)或(*:NAME)被用于标记匹配过程。必须赋名,名称不必是唯一的。和/K联用时,正则测试器将随有效匹配一起返回这些标记。
11
(*PRUNE) or (*PRUNE:NAME) will cause the regex to exit if it tries to backtrack past its position. This is useful when looking to cut down on backtracking at specific points in the regex. The example above would normally match both terms but due to (*PRUNE) the second alternative is not acted on.
当正则引擎从(*PRUNE)或(*PRUNE:NAME)处进行回溯,匹配将终止。可用于想在回溯到某点时进行切断。例子中本应匹配双方,但因为有(*PRUNE),就不会回溯并进行后一个分支的匹配了。
12
(*SKIP) or (*SKIP:NAME) will cause the regex to give up on the current match if it tries to backtrack past its position. This is useful when looking to cut down on backtracking at specific points in the regex.
当该(*SKIP)或(*SKIP:NAME)处被回溯,放弃本次匹配。
13
(*THEN) or (*THEN:NAME) allows one to cut down on backtracking within an alternation. It won't allow regex to backtrack past its position, and it will give up matching the current alternation.
当该(*THEN)或(*THEN:NAME)处被回溯,不继续匹配当前分支。
14
(except for line terminators)
(除了行结束符)
15
{1} — Matches between {2} and {3} times, {4} {5}
{1} — 匹配 {2} 至 {3} 次, {4} {5}
16
{1} — Matches exactly {2} {3} {4}
{1} — 实际匹配 {2} {3} {4}
17
{1} Alternative
{1} 选择
18
{1} and {2} are also available with the use of '{3}'
{1} 和 {2} 也同样可用于 '{3}'
19
{1} Capturing Group
{1} 捕获组
20
{1} checks whether the {2} capturing group matched when it was last attempted
{1} 检测 {2} 捕获组是否匹配,如果是最后尝试

Loading…

Loading…

Glossary

Source Translation
No related strings found in the glossary.

Source information

Context
.{1} — Matches between {2} and {3} times, {4} {5}
Source string age
a year ago
Translation file
zh.json, string 15
String priority
Medium