Browse Source

Fix regex demo after godot commit e3e2f06

Julian Murgia 7 years ago
parent
commit
bc672d8959
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misc/regex/regex.gd

+ 1 - 1
misc/regex/regex.gd

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