Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c50e86

Browse files
committed
Typo fix; constant name is uppercase
1 parent 751771b commit 1c50e86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/re.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ The special characters are:
215215
``(?aiLmsux)``
216216
(One or more letters from the set ``'a'``, ``'i'``, ``'L'``, ``'m'``,
217217
``'s'``, ``'u'``, ``'x'``.) The group matches the empty string; the
218-
letters set the corresponding flags: :const:`re.a` (ASCII-only matching),
218+
letters set the corresponding flags: :const:`re.A` (ASCII-only matching),
219219
:const:`re.I` (ignore case), :const:`re.L` (locale dependent),
220220
:const:`re.M` (multi-line), :const:`re.S` (dot matches all),
221221
and :const:`re.X` (verbose), for the entire regular expression. (The

0 commit comments

Comments
 (0)