Hi Sir/Madam,
This is from Python docs: The optional argument count is the maximum number of pattern occurrences to be replaced; count must be a non-negative integer. If omitted or zero, all occurrences will be replaced.
Which means, your regular string is wrong. Can You send it for inspection?
Best regards,
Fejs.