Commit 80d72414 authored by mondrake's avatar mondrake

double backslash test separate from current test

parent 29695328
......@@ -32,9 +32,9 @@ class SQLParserUtils
const NAMED_TOKEN = '(?<!:):[a-zA-Z_][a-zA-Z0-9_]*';
// Quote characters within string literals can be preceded by a backslash.
const ESCAPED_SINGLE_QUOTED_TEXT = "'(?:(?:\\\\\\\\)*|[^'\\\\]|\\\\'?|'')*'";
const ESCAPED_DOUBLE_QUOTED_TEXT = '"(?:(?:\\\\\\\\)*|[^"\\\\]|\\\\"?)*"';
const ESCAPED_BACKTICK_QUOTED_TEXT = '`(?:(?:\\\\\\\\)*|[^`\\\\]|\\\\`?)*`';
const ESCAPED_SINGLE_QUOTED_TEXT = "'(?:(?:(?:\\\\\\\\)*)|(?:[^'\\\\]|\\\\'?|'')*)'";
const ESCAPED_DOUBLE_QUOTED_TEXT = '"(?:(?:(?:\\\\\\\\)*)|(?:[^"\\\\]|\\\\"?)*)"';
const ESCAPED_BACKTICK_QUOTED_TEXT = '`(?:(?:(?:\\\\\\\\)*)|(?:[^`\\\\]|\\\\`?)*)`';
const ESCAPED_BRACKET_QUOTED_TEXT = '(?<!\bARRAY)\[(?:[^\]])*\]';
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment