diff --git a/README.md b/README.md index 1937ab6..b72cf43 100644 --- a/README.md +++ b/README.md @@ -287,12 +287,12 @@ Regex ----- ```python import re - = re.sub('', new, text, count=0) # Substitutes all occurrences. - = re.findall('', text) # Returns all occurrences. - = re.split('', text, maxsplit=0) # Use brackets in regex to keep the matches. - = re.search('', text) # Searches for first occurrence of pattern. - = re.match('', text) # Searches only at the beginning of the text. - = re.finditer('', text) # Returns all occurrences as match objects. + = re.sub(, new, text, count=0) # Substitutes all occurrences. + = re.findall(, text) # Returns all occurrences. + = re.split(, text, maxsplit=0) # Use brackets in regex to keep the matches. + = re.search(, text) # Searches for first occurrence of pattern. + = re.match(, text) # Searches only at the beginning of the text. + = re.finditer(, text) # Returns all occurrences as match objects. ``` * **Parameter `'flags=re.IGNORECASE'` can be used with all functions.**