I've read the other responses on adding delimiters, however the line the error message is calling out does not have a '.' in it.
This is the error message:
Warning: preg_match(): No ending delimiter '.' found in /homepages/17/d257823593/htdocs/includes/file.inc on line 895.
Here is the code(first line is line 895):
elseif ($depth >= $min_depth && preg_match($mask, $file)) {
// Always use this match over anything already set in $files with the same $$key.
$filename = "$dir/$file";
$basename = basename($file);
$name = substr($basename, 0, strrpos($basename, '.'));
Any help would be greatly appreciated.