[Archiver] comment for a confusing line

main
Zbigniew 11 years ago
parent a4a9d0f0e4
commit 5afe2f846f

@ -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);

Loading…
Cancel
Save