From 30ae14ce87eb22ef18f325c35e338dc2e13e575f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 4 Apr 2018 15:11:35 +0200 Subject: [PATCH] Regex special sequences --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 12556ae..4b1228a 100644 --- a/README.md +++ b/README.md @@ -174,12 +174,11 @@ re.split(, text, maxsplit=0) # Use brackets in regex to keep the matches #### Special Sequences: ```python +# Use capital letter for negation. '\d' == '[0-9]' # Digit '\s' == '[ \t\n\r\f\v]' # Whitespace '\w' == '[a-zA-Z0-9_]' # Alphanumeric ``` -**Use capital letter for negation.** - ### Format ```python