SimonVanacco opened a new issue, #5159: URL: https://github.com/apache/netbeans/issues/5159
### Apache NetBeans version Apache NetBeans 16 ### What happened Backslash escaping is not detected by the color highlighting in SQL Files :  I figure this is a bug because SQL does not produces any error when parsing these files, meaning these are acceptable ways of escaping SQL queries, which is not reflected correctly by the color highlighting ### How to reproduce Write this SQL il any .sql file open in NetBeans and see the code color break : ```sql INSERT IGNORE INTO categorie (id, parent_id, nom, content, root, lft, rgt, lvl) VALUES (1, NULL, 'Test1', 'This won\'t be correctly escaped', 12000, 1, 2, 0), (2, NULL, "Test2", "This won\'t either", 12001, 1, 2, 0); ``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System Ubuntu 22.10 ### JDK OpenJDK 17 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
