Test, validate and match regular expressions
Matches string literals enclosed in single quotes, double quotes, or backticks (MySQL-style identifiers), while correctly ignoring escaped quote characters (e.g. \' or \") within the string body. Uses lookbehind assertions to ensure the closing quote matches the opening delimiter. Ideal for tokenizing SQL queries, extracting quoted values, or parsing code and configuration files.