Clearfy the usage of String.match(expr)
#10050
Labels
area:class reference
Issues and PRs about the class reference, which should be addressed on the Godot engine repository
enhancement
Your Godot version:
Godot 3.6 & Godot 4.3
Issue description:
In the current explanation, it's unclear that which string should be wildcard pattern, i.e., whether the caller or the
expr
argument should be. (Same forString.matchn(expr)
)Sample code or additional explanation such as "returns true if the string matches the pattern
expr
" would be helpful.URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_string.html#class-string-method-match
The text was updated successfully, but these errors were encountered: