1
0
Fork 0

[Archiver] comment for a confusing line

pull/2649/head
Zbigniew 2014-01-30 23:42:11 +00:00
parent a4a9d0f0e4
commit 5afe2f846f
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ abstract class BaseExcludeFilter
$pattern .= '/';
}
// remove delimiters as well as caret (^) from the regex
$pattern .= substr(Finder\Glob::toRegex($rule), 2, -1);
return array($pattern . '#', $negate, false);