Skip to content

Commit 6fe2f55

Browse files
committed
Add semi colon to comments regex
1 parent 84a3a8d commit 6fe2f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ protected function execute_statements( $import_file ) {
7373
* @return string
7474
*/
7575
protected function remove_comments( $text ) {
76-
return preg_replace( '/\/\*.*?\*\//s', '', $text );
76+
return preg_replace( '/\/\*.*?\*\/(;)?/s', '', $text );
7777
}
7878
}

0 commit comments

Comments
 (0)