Other features concerned: backward reference, recursive expression, conditional expression, replace operation
此外,与命名分组相关的功能有:反向引用,递归表达式,条件表达式,以及替换操作。
Formats of recursive expression
递归表达式的格式有:
If the part which is referred, contains the "recursive expression", this makes a recursion. For example
如果被引用的表达式又包含自身,则形成了递归引用。举例说明:
"Recursive expression" is to refer to another part of expression itself, not to refer to what is captured. For example
"递归表达式"就是对另一部分子表达式本身的引用,而不是对其匹配结果的引用。举例说明:
The recursive expression has not this limit, so both of the following is right
递归匹配没有这个限制,不管是否是"从右向左"模式,下边的两种写法都是可以的:
Named group, conditional expression, recursive expression supported. (new feature of 1.2)
支持命名分组,条件表达式,递归表达式等多种高级特性。(1.2版本新特点)
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.