first stub at heregex

This commit is contained in:
satyr
2010-10-04 08:22:42 +09:00
parent ae55c70ac5
commit c605b3e232
3 changed files with 185 additions and 126 deletions

View File

@@ -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