Skip to content

Commit c8df48a

Browse files
committed
fix table regex(comment converted to base64 string, include '/')
1 parent e3359f2 commit c8df48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RegExpPattern.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RegExpPattern
3636
public static function tables()
3737
{
3838
$pattern = '/(?<creationScript>CREATE\s+TABLE\s+(?<ifNotExists>IF NOT EXISTS)?\s*`(?<tableName>\S+)`\s+';
39-
$pattern .= '\((?<tableDefinition>[^\/]+?)\)';
39+
$pattern .= '\((?<tableDefinition>.+?)\)';
4040
$pattern .= '(';
4141
$pattern .= '(?:\s+ENGINE\s*=\s*(?<engine>[^;\s]+))?\s*';
4242
$pattern .= '|';

0 commit comments

Comments
 (0)