mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
enhance drop comments from rules
This commit is contained in:
parent
9de64fcd85
commit
9cd7dcd181
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ private static string DropIfEmpty(this string rule)
|
|||
|
||||
private static string DropIfComment(this string rule)
|
||||
{
|
||||
return rule.StartsWith(@"!") && !rule.StartsWith(@"!#") ? null : rule;
|
||||
return rule.StartsWith(@"!") && !rule.StartsWith(@"!#") || rule.StartsWith(@"!##") ? null : rule;
|
||||
}
|
||||
|
||||
private static string DropIfTooLong(this string rule)
|
||||
|
|
|
|||
Loading…
Reference in a new issue