regex ir opt is almost done

This commit is contained in:
Youmu Liu
2026-06-30 20:14:30 +08:00
parent e60eb0ada6
commit 1cd0257c93
12 changed files with 552 additions and 377 deletions
+7 -14
View File
@@ -28,10 +28,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
<<<<<<< HEAD:StgSharp.RegularAnalysis/TextRegex/TextRegex.cs
=======
using System.Runtime.CompilerServices;
>>>>>>> 359dd6728716c1c0014d64b72ba70c6c65bb8cf8:StgSharp.RegularAnalysis/Text/TextRegex.cs
using System.Text;
using System.Threading.Tasks;
@@ -39,22 +35,19 @@ namespace StgSharp.RegularAnalysis.Text
{
public abstract class TextRegex
{
<<<<<<< HEAD:StgSharp.RegularAnalysis/TextRegex/TextRegex.cs
public ref struct Match
{
private ReadOnlySpan<char> _sequence;
}
}
=======
public abstract bool IsMatch(
ReadOnlySpan<char> text
);
public ref struct Match
{
private ReadOnlySpan<char> _sequence;
}
}
public ref struct MatchResult { }
>>>>>>> 359dd6728716c1c0014d64b72ba70c6c65bb8cf8:StgSharp.RegularAnalysis/Text/TextRegex.cs
}