slimdump icon indicating copy to clipboard operation
slimdump copied to clipboard

Use Regular Expressions instead of Wildcards

Open dritter opened this issue 9 years ago • 1 comments

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 avatar Oct 14 '15 20:10 dritter

@dritter how about adding a priority which has a higher priority then the length of the string?

kaystrobach avatar Jan 22 '19 10:01 kaystrobach