fix another cpu tier misdetection

This commit is contained in:
13xforever
2025-07-26 19:52:46 +05:00
parent 08dd212347
commit 0e649956ea
2 changed files with 3 additions and 2 deletions

View File

@@ -75,11 +75,11 @@ public class CpuTierListGenerator: IIncrementalGenerator
);
*/
result.AppendLine($"""
private static readonly Regex Model{idx++} = new(@"{line}", DefaultOptions);
private static readonly Regex Model{idx++} = new(@"\b{line}", DefaultOptions);
"""
);
}
result.AppendLine($"""
result.AppendLine("""
public static readonly List<(string model, string tier, Regex regex)> List = [
"""