summaryrefslogtreecommitdiffhomepage
path: root/MITL
diff options
context:
space:
mode:
authorKouki Ooyatsu <[email protected]>2013-02-28 10:56:58 +0900
committerKouki Ooyatsu <[email protected]>2013-02-28 11:16:15 +0900
commit1ea13483cb3a5d6e0007b49b0ab9cfdb3e9055eb (patch)
tree3702c8325da78f5c39228272a8ea567c18b63524 /MITL
parentfbe041768bf133268b63344957acb05962df41c7 (diff)
downloadmruby-1ea13483cb3a5d6e0007b49b0ab9cfdb3e9055eb.tar.gz
mruby-1ea13483cb3a5d6e0007b49b0ab9cfdb3e9055eb.zip
Regexp: %r notation bug fix. close #85.
be able to parse any delimiters. variable expansion isn't supported yet. * sample code ``` def matchpath(str) puts "#{str} is ..." if %r!img/! =~ str then puts "match" else puts "not match" end end matchpath("img/a.png") # => match matchpath("/usr/local/bin") # => not match matchpath("book/img/local") # => match ```
Diffstat (limited to 'MITL')
0 files changed, 0 insertions, 0 deletions