Fix regex used by Dialect.getUrlPattern().

Fixes UnsupportedOperationException when using dump-restore sync strategy.