Skip to content

Commit 8496e90

Browse files
committed
Fix index regular expression
1 parent 204552c commit 8496e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json_config_file/json_properties/json_property.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ func _get_file_path(file: String) -> String:
336336

337337
func _update_context(error_or_warning: Dictionary, context) -> void:
338338
var _index_regex = RegEx.new()
339-
_index_regex.compile("^\\[([0-9]|[1-9]+[0-9]+)\\]$")
339+
_index_regex.compile("^\\[([0-9]|[1-9]+[0-9]+)\\]")
340340

341341
if error_or_warning.has("context"):
342342
if _index_regex.search(error_or_warning.context) == null:

0 commit comments

Comments
 (0)