We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605dbed commit 941c67eCopy full SHA for 941c67e
packages/support/src/Regex/functions.php
@@ -77,7 +77,7 @@ function get_all_matches(
77
}
78
79
/**
80
- * Returns the specified match of `$pattern` in `$subject`. If no match is specified, returns the first group.
+ * Returns the specified match of `$pattern` in `$subject`. If no match is specified, returns the whole matching array.
81
*
82
* @param non-empty-string $pattern The pattern to match against.
83
* @param 0|256|512|768 $flags
0 commit comments