use match array rather than RegExp.$1