diff --git a/shunt_tags b/shunt_tags index 62fb39b..54b39f2 100755 --- a/shunt_tags +++ b/shunt_tags @@ -504,7 +504,7 @@ function findFilesNeedingReplacement($basedir, $recursive, $quiet) { $fname = $file->getFilename(); - if (! preg_match("~\.(?:mkv|mp4|avi|ogm|ogv)$~", $fname)) { + if (! preg_match("~\\.(?:mkv|mp4|avi|ogm|ogv)$~", $fname)) { continue; }