diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-02-17 13:03:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 13:03:43 (GMT) |
commit | 5b6e3589133fcd913a328137e11fb772072fb86b (patch) | |
tree | d4dae8bb5a817e404f33aba0c37eae4470575245 /Lib/test/test_pydoc/test_pydoc.py | |
parent | 4077f1445cd4d8a4ac2b5bb00d6f470268e85399 (diff) | |
download | cpython-5b6e3589133fcd913a328137e11fb772072fb86b.zip cpython-5b6e3589133fcd913a328137e11fb772072fb86b.tar.gz cpython-5b6e3589133fcd913a328137e11fb772072fb86b.tar.bz2 |
[3.11] gh-101699: Explain using Match.expand with \g<0> (GH-101701) (GH-115584)
Update documentation for re library to explain that a backreference `\g<0>` is
expanded to the entire string when using Match.expand().
Note that numeric backreferences to group 0 (`\0`) are not supported.
(cherry picked from commit d2d78088530433f475d9304104bbc0dac2536edd)
Co-authored-by: Stevoisiak <S.Vascellaro@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions