Change to Regex objects