diff --git a/README.md b/README.md index 682a428..140e022 100644 --- a/README.md +++ b/README.md @@ -265,6 +265,9 @@ Regex ----- ```python import re +``` + +```python = 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. @@ -774,7 +777,9 @@ Enum ---- ```python from enum import Enum, auto +``` +```python class (Enum): = = ,