소스 검색

[Archiver] comment for a confusing line

Zbigniew 11 년 전
부모
커밋
5afe2f846f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Composer/Package/Archiver/BaseExcludeFilter.php

+ 1 - 0
src/Composer/Package/Archiver/BaseExcludeFilter.php

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