diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-08 07:31:46 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-04-08 07:31:46 +0000 |
commit | 6ce7986668a159de41534b70e777f2ed216f6e5c (patch) | |
tree | 80aa5c702fb070453a8d49930881c430d0d8dc6c /benchmark/bm_time_subsec.rb | |
parent | a38339d83d76d89983c94f11ced71c35a0d091a8 (diff) |
[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
Diffstat (limited to 'benchmark/bm_time_subsec.rb')
0 files changed, 0 insertions, 0 deletions