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 e239e92 commit 370f700Copy full SHA for 370f700
Hacktober2023/regex.py
@@ -0,0 +1,10 @@
1
+import re
2
+
3
+pattern = '^a...s$'
4
+test_string = 'abyssswsws'
5
+result = re.match(pattern, test_string)
6
7
+if result:
8
+ print("Search successful.")
9
+else:
10
+ print("Search unsuccessful.")
0 commit comments