Minor fix in ruby regexp