aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Grams2016-03-27 08:21:14 -0400
committerRémi Verschelde2016-04-02 22:15:20 +0200
commitfed11a662a7f87b5b3fb7537c38464622c445166 (patch)
tree4e47d5d7ddb0763e0431029132d1112bedb1ea2b
parent26f2b7415cdc3b064cd785fdd8fa9550b81241b7 (diff)
downloadgodot-fed11a662a7f87b5b3fb7537c38464622c445166.tar.gz
godot-fed11a662a7f87b5b3fb7537c38464622c445166.tar.zst
godot-fed11a662a7f87b5b3fb7537c38464622c445166.zip
doc/base/classes.xml: String.match, Node.find_node
Clarify wildcard behavior. (cherry picked from commit ef08fed277f457249ae4058f2a391bc9e2ebe5bb)
-rw-r--r--doc/base/classes.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index fcd0c8b8e..193016398 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -18976,6 +18976,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8)
<argument index="2" name="owned" type="bool" default="true">
</argument>
<description>
+ Find a descendant of this node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names.
</description>
</method>
<method name="has_node_and_resource" qualifiers="const">
@@ -34157,7 +34158,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="expr" type="String">
</argument>
<description>
- Do a simple expression matching, using ? and * wildcards.
+ Do a simple expression match, where '*' matches zero or more arbitrary characters and '?' matches any single character except '.'.
</description>
</method>
<method name="matchn">
@@ -34166,7 +34167,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="expr" type="String">
</argument>
<description>
- Do a simple, case insensitive, expression matching, using ? and * wildcards.
+ Do a simple case insensitive expression match, using ? and * wildcards (see [method match]).
</description>
</method>
<method name="md5_buffer">