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

@@ -9,7 +9,7 @@ Synopsis
.. synopsis::
string replace [-a | --all] [-f | --filter] [-i | --ignore-case]
[-r | --regex] [[-m | --max-matches] MAX] [-q | --quiet]
[-r | --regex] [(-m | --max-matches) MAX] [-q | --quiet]
PATTERN REPLACEMENT [STRING ...]
.. END SYNOPSIS