mirror of
https://github.com/ada-dmitry/lab6.git
synced 2026-09-24 01:10:15 +00:00
rebase 0.4 and create 0.5
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import re
|
||||
|
||||
def is_cyr_or_dig(string):
|
||||
pattern = r'^[\u0400-\u04FF\d]+$'
|
||||
return bool(re.match(pattern, string))
|
||||
Reference in New Issue
Block a user