Project

General

Profile

« Previous | Next » 

Revision 6ce79866

Added by znz (Kazuhiro NISHIYAMA) over 7 years ago

[DOC] * in glob matches \n too [ci skip]

File.fnmatch("a*b", "a\nb") # => true /\Aa.*b\z/x.match?("a\nb") # => false /\Aa.*b\z/mx.match?("a\nb") # => true 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e