From 2d44a1da0a1db1537ecbc0e52a29dae058611c63 Mon Sep 17 00:00:00 2001 From: Roller Angel Date: Mon, 4 Feb 2019 21:04:48 -0700 Subject: [PATCH] Update regex.ipynb Fixed typo --- days/28-30-regex/regex.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/days/28-30-regex/regex.ipynb b/days/28-30-regex/regex.ipynb index 3c611509..dc9e7861 100644 --- a/days/28-30-regex/regex.ipynb +++ b/days/28-30-regex/regex.ipynb @@ -398,7 +398,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Or what if I want to change all the #nDaysOf... to #nDaysOfPyton? You can use `re.sub` for this. Note how I use the capturing parenthesis to port over the matching part of the string to the replacement (2nd argument) where I use `\\1` to reference it:" + "Or what if I want to change all the #nDaysOf... to #nDaysOfPython? You can use `re.sub` for this. Note how I use the capturing parenthesis to port over the matching part of the string to the replacement (2nd argument) where I use `\\1` to reference it:" ] }, {