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

2019-02-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___

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

2019-02-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 6ee41793d2204c54bdf8f477ae61d016a7eca932 by Raymond Hettinger (Miss Islington (bot)) in branch '2.7': bpo-35584: Clarify role of caret in a class class (GH-11946) (GH-11948) https://github.com/python/cpython/commit/6ee41793d2204c54bdf8f477ae6

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

2019-02-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset bb9ddee3d4e293f0717f8c167afdf5749ebf843d by Raymond Hettinger (Miss Islington (bot)) in branch '3.7': bpo-35584: Clarify role of caret in a class class (GH-11946) (GH-11947) https://github.com/python/cpython/commit/bb9ddee3d4e293f0717f8c167af

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

2019-02-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +11972 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2019-02-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +11971 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

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

2019-02-19 Thread miss-islington
miss-islington added the comment: New changeset 3bacf6126522a9b3bcb6be0c4f3ee6a895dfe772 by Miss Islington (bot) (Raymond Hettinger) in branch 'master': bpo-35584: Clarify role of caret in a class class (GH-11946) https://github.com/python/cpython/commit/3bacf6126522a9b3bcb6be0c4f3ee6a895dfe7

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

2019-02-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +11970 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

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

2019-02-19 Thread Louis Michael
Change by Louis Michael : -- keywords: +patch pull_requests: +11968 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

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

2019-02-19 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

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

2019-02-19 Thread Julien Palard
Change by Julien Palard : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

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

2019-01-05 Thread Julien Palard
Julien Palard added the comment: yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2018-12-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: The caret has several meanings: * Generally, it is a beginning of string: r'^bol' * When MULTILINE is on, it is a beginning of line: r'^bos' * Escaped with a backslash, it is just a caret: r'a\^b' * Immediately after a left bracket, it inverts a characte

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

2018-12-25 Thread Julien Palard
New submission from Julien Palard : 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 b