fixing fetching regex matching result, cuz .net style is a way different from rubyist