Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7302855

Browse files
[3.13]gh-111259: Document idiomatic RE pattern (?s:.) that matches any character (GH-120745) (GH-120813)
(cherry picked from commita2f6f7d)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent3cb6c4c commit7302855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/library/re.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The special characters are:
101101
``.``
102102
(Dot.) In the default mode, this matches any character except a newline. If
103103
the:const:`DOTALL` flag has been specified, this matches any character
104-
including a newline.
104+
including a newline. ``(?s:.)`` matches any character regardless of flags.
105105

106106
..index::single: ^ (caret); in regular expressions
107107

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp