Added main menu real
This commit is contained in:
parent
1be1826ddb
commit
a4ef10302e
4 changed files with 35 additions and 11 deletions
|
@ -4,9 +4,14 @@ extends LineEdit
|
|||
@onready var regex = RegEx.create_from_string(pattern)
|
||||
|
||||
func check(tet):
|
||||
if len(text) > 1:
|
||||
text = text[0]
|
||||
if text == "":
|
||||
return
|
||||
print("Checking!")
|
||||
print(regex.search(text))
|
||||
if regex.search(text) == null:
|
||||
text = ""
|
||||
print(text[0].unicode_at(0))
|
||||
if OS.get_name() == "Web":
|
||||
if text[0].unicode_at(0) < 100_000:
|
||||
text = ""
|
||||
else:
|
||||
print(regex.search(text))
|
||||
if regex.search(text) == null:
|
||||
text = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue