[docs] [issue32658] Metacharacter (\) documentation suggestion

Kevin Raeder report at bugs.python.org
Wed Jan 24 19:01:01 EST 2018


New submission from Kevin Raeder <raeder at ucar.edu>:

I've found the Regular Expression HOWTO to be very helpful
(https://docs.python.org/3/howto/regex.html?highlight=regular%20expressions). 
One inconsistency I noticed is that the intro to metacharacters says
"Metacharacters are not active inside classes. "
But farther down we learn that a class can be constructed using \s: [\s,.],
which is "all white space characters , and ."
It's not the 4 characters "\ s , and ."
So I think the first statement would be clearer as
"Metacharacters (except \) are not active inside classes. "

----------
assignee: docs at python
components: Documentation
messages: 310647
nosy: docs at python, kdraeder
priority: normal
severity: normal
status: open
title: Metacharacter (\) documentation suggestion

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32658>
_______________________________________


More information about the docs mailing list