mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
first stub at heregex
This commit is contained in:
@@ -26,3 +26,13 @@ regexp = / /
|
||||
ok ' '.match regexp
|
||||
|
||||
ok (obj.width()/id - obj.height()/id) is -5
|
||||
|
||||
eq /^I'm\s+Heregex?/gim + '', ///
|
||||
^ I'm \s+ Heregex? # or not
|
||||
///gim + ''
|
||||
eq '\\\\#{}', ///
|
||||
#{
|
||||
"#{ '\\' }"
|
||||
}
|
||||
\#{}
|
||||
///.source
|
||||
|
||||
Reference in New Issue
Block a user