Slightly more efficient Regex.