add more cases to "About" regex rule numbering scheme

This commit is contained in:
RaidMax 2022-07-25 10:33:44 -05:00
parent ccedb01e8d
commit e99ca3c140

View File

@ -76,7 +76,7 @@
@foreach (var rule in rules)
{
<div class="rule">
@if (!rule.StartsWith("#") && !Regex.IsMatch(rule, @"^\d+(.|\))"))
@if (!rule.StartsWith("#") && !Regex.IsMatch(rule.StripColors(), @"^(Rule ?#?)?\d+(.|\))"))
{
<span>@start.</span>
}