Skip to content

Commit

Permalink
add more cases to "About" regex rule numbering scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jul 25, 2022
1 parent 57cefc2 commit 789ada6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebfrontCore/Views/About/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
}
Expand Down

0 comments on commit 789ada6

Please sign in to comment.