From aa6a25bb0337bb3f37d2499858e1d2b7aef0ff06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 28 Dec 2018 09:49:50 +0100 Subject: [PATCH] Regex --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b143c0c..31a68ca 100644 --- a/README.md +++ b/README.md @@ -265,10 +265,10 @@ import re = re.finditer(, text) # Searches for all occurrences of pattern. ``` +* **Use `'\\\\1'` or `r'\1'` for backreference.** +* **Use `?` to make operators non-greedy.** * **Parameter `'flags=re.IGNORECASE'` can be used with all functions.** -* **Parameter 'flags=re.DOTALL' makes dot also accept newline.** -* **Use '\\\\1' or r'\1' for backreference.** -* **Use ? to make operators non-greedy.** +* **Parameter `'flags=re.DOTALL'` makes dot also accept newline.** ### Match Object ```python