Fix regex demo after godot commit e3e2f06

This commit is contained in:
Julian Murgia
2017-10-30 19:30:23 +01:00
parent 0af6d01f94
commit bc672d8959

View File

@@ -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)