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 222fa9b commit f72cc7aCopy full SHA for f72cc7a
cheatsheet.rst
@@ -40,8 +40,8 @@ Special sequences::
40
\W Non-alphanumeric
41
\Z End of string
42
43
- \g<id> Match previous named or numbered group,
44
- e.g. \g<0> or \g<name>
+ \g<id> Match previous group, '<' & '>' are literal
+ e.g. \g<0> or \g<name> (not \g0 or \gname)
45
46
Special character escapes are much like those already escaped in Python string
47
literals. Hence regex '``\n``' is same as regex '``\\n``'::
0 commit comments