We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e3338 commit e1aa98eCopy full SHA for e1aa98e
lib/coderay/scanners/sql.rb
@@ -96,7 +96,7 @@ def scan_tokens encoder, options
96
state = :string
97
encoder.text_token match, :delimiter
98
99
- elsif match = scan(/ @? [A-Za-z_][A-Za-z_0-9]* /x)
+ elsif match = scan(/ @? [A-Za-z_][A-Za-z_0-9\$]* /x)
100
encoder.text_token match, name_expected ? :ident : (match[0] == ?@ ? :variable : IDENT_KIND[match])
101
name_expected = false
102
0 commit comments