Translate

.(*FAIL) or (*F) is a synonym for (?!), and it allows you to force a matching failure at a specific point in the regex.
(*FAIL) or (*F) is a synonym for (?!), and it allows you to force a matching failure at a specific point in the regex.
SourceTranslationState
1
'{0}' found at index {1}
'{0}' 在 {1} 位置找到
2
(*ANY) makes it so that any unicode newline character or sequence thereof counts as a line break.
(*ANY)令任意Unicode换行字符和组合均被视为一次换行。
3
(*ANYCRLF) makes it so that either a carriage return character or a line feed character, or the two in sequence are considered a line break.
(*ANYCRLF)令回车、换行符或两者连续,三种情况均视为一次换行。
4
(*CR) makes it so that only a carriage return character is considered a line break.
在(*CR)作用下,只有回车符会被视为一次换行。
5
(*CRLF) makes it so that only a carriage return character followed by a line feed character is considered a line break. Common in Windows documents.
在(*CRLF)作用下,只有回车符后接换行符,才会被视为一次换行。常见于Windows文档。
6
(*FAIL) or (*F) is a synonym for (?!), and it allows you to force a matching failure at a specific point in the regex.
类似于(?!),(*FAIL)或(*F)让正则匹配到该位置时判断为失败。
7
(*LF) makes it so that only a line feed character is considered a line break. Common in UNIX documents.
在(*LF)作用下,只有换行符会被视为一次换行。常见于UNIX文档。
8
(*LIMIT_MATCH=x) where x is the number of times the regex engine is allowed to call match(). This user set limit cannot be increased past the compile time value or the default, however it can be restricted.
(*LIMIT_MATCH=x)中的x代表正则引擎总共可进行的match次数。只可向下限制,而无法以此超过编译时间或默认上限。
9
(*LIMIT_RECURSION=d) at the start of a pattern will limit the regex engine to 'd' number of recursions when matching. This user set limit cannot be increased past the compile time value or the default, however it can be restricted.
在表达式开头使用(*LIMIT_RECURSION=d),可将递归次数限制在d以内。只可向下限制,而无法以此超过编译时间或默认上限。
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),就不会回溯并进行后一个分支的匹配了。

Loading…

Loading…

Glossary

Source Translation
No related strings found in the glossary.

Source information

Context
.(*FAIL) or (*F) is a synonym for (?!), and it allows you to force a matching failure at a specific point in the regex.
Source string age
a year ago
Translation file
zh.json, string 6
String priority
Medium