i remember a gem provides a very elegant solution to text parse, couldn't find the it..