summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a573.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/unparsable_programs/a573.py')
-rw-r--r--progs/unparsable_programs/a573.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/unparsable_programs/a573.py b/progs/unparsable_programs/a573.py
new file mode 100644
index 0000000..a07ff11
--- /dev/null
+++ b/progs/unparsable_programs/a573.py
@@ -0,0 +1,5 @@
+import re
+def is_allowed_specific_char(string):
+ get_char = re.compile(r'[^a-zA-Z0-9.]')
+ string = get_char.search(string)
+ return not bool(string) \ No newline at end of file