From 016ea497eb21d3ce66f4fb93cff338f7e5dae8ee Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 30 Sep 2020 19:23:43 +0200 Subject: [PATCH] Improve the `String.is_valid_ip_address()` documentation This closes https://github.com/godotengine/godot-docs/issues/4097. (cherry picked from commit 00ade39389cbb5cff744cb52b6827003dd2414ba) --- doc/classes/String.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 7919f7f9da7..b6789a5f91c 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -553,7 +553,7 @@ - Returns [code]true[/code] if this string contains a valid IP address. + Returns [code]true[/code] if this string contains only a well-formatted IPv4 or IPv6 address. This method considers [url=https://en.wikipedia.org/wiki/Reserved_IP_addresses]reserved IP addresses[/url] such as [code]0.0.0.0[/code] as valid.