This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package liquibase.changelog; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class RegexResourceFilter implements IncludeAllFilter { | |
private final static Pattern PATTERN = Pattern.compile(".*\\.sql$"); | |
@Override | |
public boolean include(String changeLogPath) { | |
Matcher matcher = PATTERN.matcher(changeLogPath); | |
return matcher.matches(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment