mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-04-11 03:00:13 -04:00
patching up the lexer and adding a test with trailing whitespace (it was too string for trailing whitespace before)
This commit is contained in:
@@ -27,7 +27,7 @@ module CoffeeScript
|
||||
COMMENT = /\A((#[^\n]*\s*)+)/m
|
||||
CODE = /\A(=>)/
|
||||
REGEX = /\A(\/(.*?)[^\\]\/[imgy]{0,4})/
|
||||
MULTI_DENT = /\A((\n+[ \t]*)+)/
|
||||
MULTI_DENT = /\A((\n+([ \t]*(?=\S)))+)/
|
||||
LAST_DENT = /\n+([ \t]*)\Z/
|
||||
|
||||
# Token cleaning regexes.
|
||||
|
||||
Reference in New Issue
Block a user