Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1aa98e

Browse files
committed
Allow $ in SQL object names.
1 parent38e3338 commite1aa98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/coderay/scanners/sql.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def scan_tokens encoder, options
9696
state=:string
9797
encoder.text_tokenmatch,:delimiter
9898

99-
elsifmatch=scan(/ @? [A-Za-z_][A-Za-z_0-9]* /x)
99+
elsifmatch=scan(/ @? [A-Za-z_][A-Za-z_0-9\$]* /x)
100100
encoder.text_tokenmatch,name_expected ?:ident :(match[0] == ?@ ?:variable :IDENT_KIND[match])
101101
name_expected=false
102102

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp