php-mysql-diff icon indicating copy to clipboard operation
php-mysql-diff copied to clipboard

Table definition can contain '/' - wrong pattern

Open Enyby opened this issue 7 years ago • 1 comments

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.

Enyby avatar Dec 06 '17 10:12 Enyby

I have comments with '/', I changed the line to: $pattern .= '((?<tableDefinition>.+?))'; Works fine so far!

drez avatar May 07 '20 00:05 drez