slimdump
slimdump copied to clipboard
Use Regular Expressions instead of Wildcards
In the config it might be handy to use a regular expression instead of a wildcard. It would be nice to do something like:
<?xml version="1.0" ?>
<slimdump>
<table name="te(sa|st)" dump="full" />
</slimdump>
That should match test as well as tesa.
Currently we translate the wildcard info a regular expression anyway. The only technical implication of such a change is that we use the length of the table name as an indicator for specificity (test matches before te*). That wouldn't work anymore with regular expressions.
@dritter how about adding a priority which has a higher priority then the length of the string?