1. 28 Feb, 2013 1 commit
    • Kouki Ooyatsu's avatar
      Regexp: %r notation bug fix. close #85. · 1ea13483
      Kouki Ooyatsu authored
      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
      ```
      1ea13483
  2. 27 Feb, 2013 13 commits
  3. 26 Feb, 2013 11 commits
  4. 25 Feb, 2013 11 commits
  5. 24 Feb, 2013 4 commits