diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 03:56:28 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 03:56:28 +0000 |
commit | 4078d42b72339cd80a88a1d2aa163b5499e2f5f7 (patch) | |
tree | b0b1754421119ce0955de44c72d4d8fb2596b039 /ChangeLog | |
parent | aac52e2b87389aa41013e6fd7f26d119de10c209 (diff) | |
download | ruby-4078d42b72339cd80a88a1d2aa163b5499e2f5f7.tar.gz |
Fix a line matching problem in Abbrev.abbrev(words, "prefix").
* lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern
should only match the beginning of each word, not the beginning
of every line in it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Fri Nov 30 12:47:59 2012 Akinori MUSHA <knu@iDaemons.org> + + * lib/abbrev.rb (Abbrev#abbrev): A fixed string prefix pattern + should only match the beginning of each word, not the beginning + of every line in it. + Fri Nov 30 12:30:55 2012 Akinori MUSHA <knu@iDaemons.org> * test/test_abbrev.rb: Add tests for lib/abbrev.rb. |