From: Dave Thomas Date: 2008-03-05T01:38:42+09:00 Subject: Named captures and regular captures It seems that once you have a named capture in a regular expression, you can no longer use numeric captures. m = /(.)(.)(?\d+)(\d)/.match("THX1138.") m.begin(:digit_prefix) m.begin(2) #=> index 2 out of matches $1 #=> 113 $2 #=> nil m.to_a #=> => ["HX1138", "113"] Is this expected? Dave