From db14a12fbb41df76951919b23c68fa3bf1cce9fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Fri, 28 Dec 2018 09:57:09 +0100 Subject: [PATCH] Regex --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1537b66..1ab4d8c 100644 --- a/README.md +++ b/README.md @@ -265,10 +265,10 @@ import re = re.finditer(, text) # Searches for all occurrences of pattern. ``` -* **Use `r'\1'` or `'\\\\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.** +* **Parameter `'flags=re.DOTALL'` makes dot also accept newline.** +* **Use `r'\1'` or `'\\\\1'` for backreference.** +* **Use `'?'` to make operators non-greedy.** ### Match Object ```python