diff --git a/check/checkfunctions/library.go b/check/checkfunctions/library.go index 2907f5c65..a5179d232 100644 --- a/check/checkfunctions/library.go +++ b/check/checkfunctions/library.go @@ -60,7 +60,7 @@ func MisspelledLibraryPropertiesFileName() (result checkresult.Type, output stri } directoryListing.FilterOutDirs() - path, found := containsMisspelledPathBaseName(directoryListing, "library.properties", "(?i)^librar(y)|(ie)s?[.-_]?propert(y)|(ie)s?$") + path, found := containsMisspelledPathBaseName(directoryListing, "library.properties", "(?i)^librar((y)|(ie))s?[.-_]?propert((y)|(ie))s?$") if found { return checkresult.Fail, path.String() }