diff --git a/src/Parser/SqliteParser.php b/src/Parser/SqliteParser.php index 61bf9bf7..2806d749 100644 --- a/src/Parser/SqliteParser.php +++ b/src/Parser/SqliteParser.php @@ -17,4 +17,20 @@ */ class SqliteParser extends AbstractParser { + /** + * {@inheritDoc} + */ + protected array $split = [ + // single-quoted string + "'(?:[^'\\\\]|\\\\'?)*'", + // double-quoted string + '"(?:[^"\\\\]|\\\\"?)*"', + // backticked column names + '`(?:[^`\\\\]|\\\\`?)*`', + ]; + + /** + * {@inheritDoc} + */ + protected string $skip = '/^(\'|"|`|\:[^a-zA-Z_])/um'; }