Recursive RegEx in .NET? (?R)

后端 未结 3 754

When I use (?R) in a RegEx pattern in .NET, I get an ArgumentException:

Unrecognized grouping construct.

Does (?R) this have a d

3条回答
  •  盖世英雄少女心
    2020-12-11 08:36

    According to the documentation, (?R) is not a valid construct in .NET regular expressions, nor is there any mention on that page of "recursive" or "recursion" so apparently this is not supported in .NET.

提交回复
热议问题