We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84a3a8d commit 6fe2f55Copy full SHA for 6fe2f55
src/Import.php
@@ -73,6 +73,6 @@ protected function execute_statements( $import_file ) {
73
* @return string
74
*/
75
protected function remove_comments( $text ) {
76
- return preg_replace( '/\/\*.*?\*\//s', '', $text );
+ return preg_replace( '/\/\*.*?\*\/(;)?/s', '', $text );
77
}
78
0 commit comments