Fix short/long delimiter in string {match,replace}

- We use `()` not `[]`, as can be seen in e.g. `string split`
This commit is contained in:
Henrik Hørlück Berg
2024-07-06 16:18:14 +02:00
parent 96c5139254
commit 75da00df94
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ Synopsis
string match [-a | --all] [-e | --entire] [-i | --ignore-case]
[-g | --groups-only] [-r | --regex] [-n | --index]
[-q | --quiet] [-v | --invert] [[-m | --max-matches] MAX]
[-q | --quiet] [-v | --invert] [(-m | --max-matches) MAX]
PATTERN [STRING ...]
.. END SYNOPSIS