Fixed by removing the minus sign "-" from the regular expression.