Regex error fixed