From: Thomas Martitz Date: 2009-06-06T00:58:23+09:00 Subject: [ruby-core:23716] [Bug #1572] Regex range: upper range limit apparently not applied on digit matching Bug #1572: Regex range: upper range limit apparently not applied on digit matching http://redmine.ruby-lang.org/issues/show/1572 Author: Thomas Martitz Status: Open, Priority: Normal ruby -v: ruby 1.9.0 (2008-06-20 revision 17482) [i486-linux] I have this regex /fs[# ]{0,2}[\d]{3,6}/ Out of array = ["FS#", "FS#10048", "within a fs#10048 sentence", "fs# 9919", "fs100", "fs wow", "fs 1", "fs#132929921 "] it matches the array[1], array[2], array[3], array[4] and array[-1]. It shouldn't match the last element, as I maxed the repitions of \d to 6. ---------------------------------------- http://redmine.ruby-lang.org