regex ir emitter is working
This commit is contained in:
@@ -136,13 +136,8 @@ namespace StgSharp.RegularAnalysis.TextRegex
|
|||||||
{
|
{
|
||||||
// no seq, invalid count operator
|
// no seq, invalid count operator
|
||||||
0 => throw new InvalidOperationException("Count operator must have a sequence to operate on"),
|
0 => throw new InvalidOperationException("Count operator must have a sequence to operate on"),
|
||||||
|
1 => right,// right seq
|
||||||
// right seq
|
2 => left,// left seq
|
||||||
1 => right,
|
|
||||||
|
|
||||||
// left seq
|
|
||||||
2 => left,
|
|
||||||
|
|
||||||
// both sides, invalid count operator
|
// both sides, invalid count operator
|
||||||
3 => throw new InvalidOperationException("Count operator cannot have two sequences to operate on"),
|
3 => throw new InvalidOperationException("Count operator cannot have two sequences to operate on"),
|
||||||
_ => throw new InvalidOperationException("Unexpected sequence mask for count operator"),
|
_ => throw new InvalidOperationException("Unexpected sequence mask for count operator"),
|
||||||
|
|||||||
Reference in New Issue
Block a user