regexp doesn't work as expected, test it and fix it http://rubular.com/