mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 06:09:46 +03:00
Fix regex demo after godot commit e3e2f06
This commit is contained in:
@@ -12,7 +12,7 @@ func update_text():
|
||||
child.queue_free()
|
||||
if regex.is_valid():
|
||||
var matches = regex.search($Text.get_text())
|
||||
for result in matches.get_group_array():
|
||||
for result in matches.get_strings():
|
||||
var label = Label.new()
|
||||
label.text = result
|
||||
$List.add_child(label)
|
||||
|
||||
Reference in New Issue
Block a user