From 5fad6e0ebef482131b32f452d4df222ed0946e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 5 Apr 2018 02:45:10 +0200 Subject: [PATCH] Regex --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7111370..a85ef0e 100644 --- a/README.md +++ b/README.md @@ -168,9 +168,9 @@ re.findall(, text) 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.** +**'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. +**Parameter 'flags=re.DOTALL' makes dot also accept newline.** **Use r'\1' for backreference.** #### Special Sequences: