diff --git a/regular-expressions.html b/regular-expressions.html index 5be0d59..b921e2c 100755 --- a/regular-expressions.html +++ b/regular-expressions.html @@ -181,7 +181,7 @@ body{counter-reset:h1 5}
M, but not the second and third M (but that’s okay because they’re optional), and then the end of the string.
M, but not the third M (but that’s okay because it’s optional), and then the end of the string.
M, and then the end of the string.
-M, but then does not match the the end of the string (because there is still one unmatched M), so the pattern does not match and returns None.
+M, but then does not match the end of the string (because there is still one unmatched M), so the pattern does not match and returns None.
>>> pattern = '^M{0,3}$' ①