diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-02-21 14:17:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-21 14:17:12 +0100 |
commit | c55aa03c436fb40f9a42128397b69872d85fb237 (patch) | |
tree | 4b053a41883bf93faaf951845fa80328e9333303 /doc | |
parent | 3000a3076b00b59554d0b5500655c81080091b45 (diff) | |
parent | 70ae6c21de9fd3f0e00a052b15f70c3667836898 (diff) |
Merge pull request #58385 from Sauermann/fix-match-empty
Update doc for match: empty argument doesn't match anything
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/String.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/String.xml b/doc/classes/String.xml index c1a7a2edda..4ff2d287a1 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -420,14 +420,14 @@ <return type="bool" /> <argument index="0" name="expr" type="String" /> <description> - Does a simple case-sensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). + Does a simple case-sensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). An empty string or empty expression always evaluates to [code]false[/code]. </description> </method> <method name="matchn" qualifiers="const"> <return type="bool" /> <argument index="0" name="expr" type="String" /> <description> - Does a simple case-insensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). + Does a simple case-insensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). An empty string or empty expression always evaluates to [code]false[/code]. </description> </method> <method name="md5_buffer" qualifiers="const"> |