BareDotMetacharacter
"." is rarely useful as a regex, as it matches any character. To match a literal '.' character, instead write "\\.".

Severity
WARNING

Alternate names: InvalidPatternSyntax

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("BareDotMetacharacter") to the enclosing element.