mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-27 12:11:12 +08:00
fix: 同名捕获组回引与 groups 字段改末次已定义语义
This commit is contained in:
Vendored
+5
@@ -102,6 +102,11 @@ pub enum Insn {
|
||||
/// Perform a backreference match.
|
||||
BackRef(u32),
|
||||
|
||||
/// Perform a backreference match against the last-defined occurrence of a
|
||||
/// name shared by multiple capture groups. Indices are 0-based, in source
|
||||
/// order; if no occurrence is defined the match succeeds.
|
||||
BackRefLastDefined(Vec<CaptureGroupID>),
|
||||
|
||||
/// Match the next character against the bracket contents, stored at the given index in the CompiledRegex.
|
||||
Bracket(usize),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user