On Sunday, January 8, 2017 at 1:17:56 AM UTC-5, Steven D'Aprano wrote:
> On Sunday 08 January 2017 15:33, CM wrote:
> 
> > On Saturday, January 7, 2017 at 7:59:01 PM UTC-5, Steve D'Aprano wrote:
> [...]
> >> Start by printing repr(candidate_text) and see what you really have.
> > 
> > Yes, that did it. The repr of that one was, in fact:
> > 
> > u'match /r'
> 
> Are you sure it is a forward-slash /r rather than backslash \r?

No, you're right, it was a backslash \r. Should have pasted it. Good catch.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to