fixed over-escaping in here documents and addressed Stan's comments

This commit is contained in:
satyr
2010-10-05 03:30:48 +09:00
parent cdd033ffb0
commit 42a91219cb
8 changed files with 117 additions and 123 deletions

View File

@@ -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 /// /// + '', '/(?:)/'