regex ir emitter is working
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user