mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
add more cases to "About" regex rule numbering scheme
This commit is contained in:
@ -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>
|
||||
}
|
||||
|
Reference in New Issue
Block a user