[docs] [issue29315] \b requires raw strings or to be escaped. Update docs with that hint?
R. David Murray
report at bugs.python.org
Wed Jan 18 16:11:54 EST 2017
R. David Murray added the comment:
One should always use raw strings for regex expressions, and this is already documented in the introduction to the regex module. Further, in 3.5 using \ in front of characters that aren't special produces a warning, which should reduce the frequency of this mistake.
I don't see that there's anything to do here.
----------
nosy: +r.david.murray
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29315>
_______________________________________
More information about the docs
mailing list