add more ir opt code, clearified what to opt, so current opt code may need rewrite

This commit is contained in:
Youmu Liu
2026-06-24 18:09:05 +08:00
parent 2b05d626c7
commit 45f9b04b6d
4 changed files with 121 additions and 54 deletions
+4 -1
View File
@@ -62,10 +62,13 @@ namespace StgSharp.RegularAnalysis.Text
}
internal sealed class RegexFindSeqIR(
string pattern
string pattern,
bool isFirst
) : RegexIR
{
public bool IsFirst { get; } = isFirst;
public string Pattern { get; } = pattern;
internal override RegexIRCommand Command => RegexIRCommand.Find_Seq;