Now MetaDataFilter takess also regexp. For example whern you want to
extract metadata if you would filter like this: --filter="Article"
would extract also for "ArticleItems" (article_items table). Now you
can use --filter="Article$" if you want only that table (articl)
- Applied Phpstorm PSR format
- Changed RegExp format
added preg_quote to $filter input
added space after type cast (I could not find any rule in psr1/2 standard, but I modified in PhpStorm)
checking preg result. Should I raise an error
throw new ORMException("Error regular expression: " . $filter);
[DDC-2128] Fix PR according to comments.