fix: 同名捕获组回引与 groups 字段改末次已定义语义

This commit is contained in:
2026-10-14 08:05:13 +00:00
parent 3d3bdaa5cf
commit fe430d4bcb
12 changed files with 287 additions and 42 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ fn compute_start_predicate(n: &Node) -> Option<AbstractStartPredicate> {
Node::Empty => arbitrary,
Node::Goal => arbitrary,
Node::BackRef(..) => arbitrary,
Node::BackRef(..) | Node::BackRefLastDefined(..) => arbitrary,
Node::CharSet(chars) => {
// Pick the first bytes out.