mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
A regexp example was rendered as
foo\d
when it was clearly intended to render as
foo$
Fred, is this a right way to fix it? If not, the earlier place in the
same paragraph that does render as
foo$
is also wrong.
This commit is contained in:
parent
4a8e9f4e42
commit
9835206268
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ specified, this matches any character including a newline.
|
|||
newline at the end of the string, and in \constant{MULTILINE} mode
|
||||
also matches before a newline. \regexp{foo} matches both 'foo' and
|
||||
'foobar', while the regular expression \regexp{foo\$} matches only
|
||||
'foo'. More interestingly, searching for \regexp{foo\e d} in
|
||||
'foo'. More interestingly, searching for \regexp{foo\$} in
|
||||
'foo1\textbackslash nfoo2\textbackslash n' matches 'foo2' normally,
|
||||
but 'foo1' in \constant{MULTILINE} mode.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue