Deprecate String.is_valid_identifier()
#9851
Closed
timothyqiu
started this conversation in
Engine Core
Replies: 1 comment
-
Implemented by godotengine/godot#95984. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
String.is_valid_identifier()
currently checks if the string is ascii identifier (0-9A-Za-z_
, not starting with a digit). This does not match the current rule of GDScript identifier anymore.I suggest
is_valid_ascii_identifier()
is_valid_unicode_identifier()
is_valid_identifier()
, making it an alias ofis_valid_ascii_identifier()
for compatibility reason.Beta Was this translation helpful? Give feedback.
All reactions