From 54eac2aba56941658fb18206219ad60b648ab6f2 Mon Sep 17 00:00:00 2001
From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
Date: Mon, 21 Feb 2022 09:30:14 +0100
Subject: [PATCH] Update doc for match: empty argument doesn't match anything
(cherry picked from commit 70ae6c21de9fd3f0e00a052b15f70c3667836898)
---
doc/classes/String.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/classes/String.xml b/doc/classes/String.xml
index 1e2dfacd4aac..2d1b975729e0 100644
--- a/doc/classes/String.xml
+++ b/doc/classes/String.xml
@@ -523,14 +523,14 @@
- 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].
- 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].