From ab611a5a778a7309d8d08ebb96846dc58da2bcf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 5 Apr 2018 02:47:16 +0200 Subject: [PATCH] Regex --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a85ef0e..50de5d0 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ re.split(, text, maxsplit=0) # Use brackets in regex to keep the matches **'Search' and 'match' functions return a 'Match' object. Use '.group()' method on it to get the match.** **Parameter 'flags=re.IGNORECASE' can be used with all functions.** **Parameter 'flags=re.DOTALL' makes dot also accept newline.** -**Use r'\1' for backreference.** +**Use '\\1' or r'\1' for backreference.** #### Special Sequences: ```python