We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fd115 commit 9518fcbCopy full SHA for 9518fcb
1 file changed
Doc/library/string.rst
@@ -971,7 +971,8 @@ attributes:
971
972
Alternatively, you can provide the entire regular expression pattern by
973
overriding the class attribute *pattern*. If you do this, the value must be a
974
-regular expression object with four named capturing groups. The capturing
+string containing the regular expression, or a compiled regular expression
975
+object, with four named capturing groups. The capturing
976
groups correspond to the rules given above, along with the invalid placeholder
977
rule:
978
0 commit comments