Take advantage of RegExp::exec