Regex error 'quantifier does not follow a repeatable item at offset 0'