mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
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:
parent
96c5139254
commit
75da00df94
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue