[docs] [issue35584] Wrong statement about ^ in howto/regex.rst

Julien Palard report at bugs.python.org
Tue Dec 25 17:10:51 EST 2018


New submission from Julien Palard <julien+python at palard.fr>:

In howto/regex.rst I read:

> '^' outside a character class will simply match the '^' character.

Which looks wrong, '^' is the "begin anchor", it's a metacharacter that typically won't match '^'.

I propose to simply remove the statement, if nobody finds a better idea.

----------
assignee: docs at python
components: Documentation
messages: 332520
nosy: Vaibhav Gupta, docs at python, mdk
priority: normal
severity: normal
status: open
title: Wrong statement about ^ in howto/regex.rst
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

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


More information about the docs mailing list