mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
fixed over-escaping in here documents and addressed Stan's comments
This commit is contained in:
@@ -25,11 +25,12 @@ ok (obj.width()/id - obj.height()/id) is -5
|
||||
eq /^I'm\s+Heregex?\/\/\//gim + '', ///
|
||||
^ I'm \s+ Heregex? / // # or not
|
||||
///gim + ''
|
||||
eq '\\\\#{}', ///
|
||||
eq '\\\\#{}\\\\\\\"', ///
|
||||
#{
|
||||
"#{ '\\' }" # normal comment
|
||||
}
|
||||
# regex comment
|
||||
\#{}
|
||||
\\ \"
|
||||
///.source
|
||||
eq /// /// + '', '/(?:)/'
|
||||
|
||||
Reference in New Issue
Block a user