Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Removed Paranthesis to allow for more complex Regex #134

Merged
merged 1 commit into from

2 participants

@Hounddog

Needed to remove the Paranthesis to allow for complex Regular Expressions. e.g Exclusion of tables

@beberlei beberlei merged commit 9437616 into doctrine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 17, 2012
  1. Removed Paranthesis to allow for more complex Regex

    Martin Shwalbe authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
View
2  lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
@@ -218,7 +218,7 @@ protected function filterAssetNames($assetNames)
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);
})
);
}
Something went wrong with that request. Please try again.