Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Regular Expressions instead of Wildcards #5

Open
dritter opened this issue Oct 14, 2015 · 1 comment
Open

Use Regular Expressions instead of Wildcards #5

dritter opened this issue Oct 14, 2015 · 1 comment

Comments

@dritter
Copy link
Contributor

dritter commented Oct 14, 2015

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.

@kaystrobach
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants