This commit is contained in:
Geoffrey White 2024-07-19 13:55:33 +01:00
Родитель 68a21663d9
Коммит 1ca0de9067
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -65,8 +65,9 @@ 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())
.replaceAll(".*(", ".*(e(mail|_mail)|")
result =
HeuristicNames::maybeSensitiveRegexp(SensitiveDataClassification::private())
.replaceAll(".*(", ".*(e(mail|_mail)|")
}
}