Commit 9437616a authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #134 from Hounddog/filter_expression

Removed Paranthesis to allow for more complex Regex
parents 03be671e 8beb732f
......@@ -218,7 +218,7 @@ abstract class AbstractSchemaManager
return array_values (
array_filter($assetNames, function ($assetName) use ($filterExpr) {
$assetName = ($assetName instanceof AbstractAsset) ? $assetName->getName() : $assetName;
return preg_match('(' . $filterExpr . ')', $assetName);
return preg_match($filterExpr, $assetName);
})
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment