mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
Regular expression interpolations; fixed bug in string interpolations when all tokens were identifiers.
This commit is contained in:
@@ -1192,7 +1192,7 @@ TAB: ' '
|
||||
TRAILING_WHITESPACE: /\s+$/gm
|
||||
|
||||
# Keep this identifier regex in sync with the Lexer.
|
||||
IDENTIFIER: /^[a-zA-Z$_](\w|\$)*$/
|
||||
IDENTIFIER: /^[a-zA-Z\$_](\w|\$)*$/
|
||||
|
||||
# Utility Functions
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user