summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a299.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/unparsable_programs/a299.py')
-rw-r--r--progs/unparsable_programs/a299.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/unparsable_programs/a299.py b/progs/unparsable_programs/a299.py
new file mode 100644
index 0000000..a217c0d
--- /dev/null
+++ b/progs/unparsable_programs/a299.py
@@ -0,0 +1,7 @@
+import re
+def match_num(string):
+ text = re.compile(r"^5")
+ if text.match(string):
+ return True
+ else:
+ return False \ No newline at end of file