[Update] regexp

This commit is contained in:
Vlad
2020-05-21 11:15:11 +03:00
parent b99d405e87
commit a719bb5558
+1 -1
View File
@@ -235,7 +235,7 @@ custom_rules:
addSubview_cell:
name: "AddSubview cell"
regex: '\s*class\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\('
regex: '\s*class\s*\w+Cell:(?s).*(self\.|\s{2,})add(Subv|V)iews?\(\w'
message: "Using addSubview or addSubviews incorrect"
severity: error