We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442c2d2 commit 954edf9Copy full SHA for 954edf9
0005-Regular-Expressions-Search/regex_search.py
@@ -74,13 +74,10 @@
74
RESULT = re.search(r'cat|dog|parrot', 'I have a zebra')
75
print(bool(RESULT)) # Output: False
76
77
-print('\d : Matches any digit (equivalent to [0-9])')
+print('Slash \d : Matches any digit (equivalent to [0-9])')
78
79
RESULT = re.search(r'\d', 'Hello 123')
80
print(bool(RESULT)) # Output: True
81
82
RESULT = re.search(r'\d', 'Hello')
83
84
-
85
86
0 commit comments