Skip to content

Commit 2c27e84

Browse files
Update matchAll to include first only matching group (#9683)
* Update matchAll to include first only matching group * Update strings.md --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 83acdf1 commit 2c27e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ The `matchAll` method will return a collection containing the portions of a stri
20312031

20322032
// collect(['bar', 'bar'])
20332033

2034-
If you specify a matching group within the expression, Laravel will return a collection of that group's matches:
2034+
If you specify a matching group within the expression, Laravel will return a collection of the first matching group's matches:
20352035

20362036
use Illuminate\Support\Str;
20372037

0 commit comments

Comments
 (0)