Closed g105b closed 1 year ago
This will need to be tested using a regex such as /([^;]*?('.*?')?)*?;/g as it's completely fine to have semicolons embedded within strings.
/([^;]*?('.*?')?)*?;/g
Don't use a regex, you fool!
https://github.com/phpmyadmin/sql-parser
This will need to be tested using a regex such as
/([^;]*?('.*?')?)*?;/g
as it's completely fine to have semicolons embedded within strings.