Merge pull request #85 from StraToN/fix-issue-83

Fix regex demo after godot commit e3e2f06
This commit is contained in:
Rémi Verschelde 2017-10-30 19:44:25 +01:00 committed by GitHub
commit 5df74f5693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)