Skip to content

Commit 7401937

Browse files
committed
Add comment for Oracle q'' strings
1 parent 5242b1c commit 7401937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lexer/regexFactory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ const buildQStringPatterns = () => {
111111
// 6. BigQuery '''triple-quoted'''
112112
// 7. BigQuery """triple-quoted"""
113113
// 8. Hive and Spark variables: ${name}
114+
// 9. Oracle q'' strings: q'<text>' q'|text|' ...
114115
export const quotePatterns = {
115116
'``': '(?:`[^`]*(?:$|`))+',
116117
'[]': String.raw`(?:\[[^\]]*(?:$|\]))(?:\][^\]]*(?:$|\]))*`,

0 commit comments

Comments
 (0)