php-mysql-diff
php-mysql-diff copied to clipboard
Table definition can contain '/' - wrong pattern
https://github.com/camcima/php-mysql-diff/blob/a12f9648b9948827800dad41c62616088e4dcd10/src/RegExpPattern.php#L38
Because you replace comments with base64. Read RFC 2045. '/' is 63 symbol in Base64.
I have comments with '/', I changed the line to: $pattern .= '((?<tableDefinition>.+?))'; Works fine so far!