зеркало из https://github.com/github/codeql.git
Swift: Autoformat.
This commit is contained in:
Родитель
68a21663d9
Коммит
1ca0de9067
|
@ -65,7 +65,8 @@ class SensitivePrivateInfo extends SensitiveDataType, TPrivateInfo {
|
|||
|
||||
override string getRegexp() {
|
||||
// we've had good results for the e-mail heuristic in Swift, which isn't part of the default regex. Add it in.
|
||||
result = HeuristicNames::maybeSensitiveRegexp(SensitiveDataClassification::private())
|
||||
result =
|
||||
HeuristicNames::maybeSensitiveRegexp(SensitiveDataClassification::private())
|
||||
.replaceAll(".*(", ".*(e(mail|_mail)|")
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче