Mention `String.match()` is also called "glob"/"globbing"

This is mostly for Ctrl + F purposes, in case someone is looking
how to perform globbing on a string.
This commit is contained in:
Hugo Locurcio 2023-02-02 14:51:02 +01:00
parent 315d3c4d21
commit 64906bd1f7
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@
<return type="bool" /> <return type="bool" />
<param index="0" name="expr" type="String" /> <param index="0" name="expr" type="String" />
<description> <description>
Does a simple 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 expression match (also called "glob" or "globbing"), 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> </description>
</method> </method>
<method name="matchn" qualifiers="const"> <method name="matchn" qualifiers="const">