new ch translation for word non capturing group

This commit is contained in:
Jigao Luo_X1 2020-01-06 17:49:36 +01:00
parent 366bc0da08
commit 4c48458c42

View File

@ -348,7 +348,7 @@
## 4. 前后关联约束(前后预查)
前置约束和后置约束都属于**非捕获**(用于匹配不在匹配列表中的格式).
前置约束和后置约束都属于**非捕获**(用于匹配不在匹配列表中的格式).
前置约束用于判断所匹配的格式是否在另一个确定的格式之后.
例如, 我们想要获得所有跟在 `$` 符号后的数字, 我们可以使用正向向后约束 `(?<=\$)[0-9\.]*`.