regex ir emitter is working

This commit is contained in:
Youmu Liu
2026-06-18 19:20:14 +08:00
parent 8114ef4bf3
commit 062ffacf88
@@ -136,13 +136,8 @@ namespace StgSharp.RegularAnalysis.TextRegex
{
// no seq, invalid count operator
0 => throw new InvalidOperationException("Count operator must have a sequence to operate on"),
// right seq
1 => right,
// left seq
2 => left,
1 => right,// right seq
2 => left,// left seq
// both sides, invalid count operator
3 => throw new InvalidOperationException("Count operator cannot have two sequences to operate on"),
_ => throw new InvalidOperationException("Unexpected sequence mask for count operator"),