mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +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]
|
string match [-a | --all] [-e | --entire] [-i | --ignore-case]
|
||||||
[-g | --groups-only] [-r | --regex] [-n | --index]
|
[-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 ...]
|
PATTERN [STRING ...]
|
||||||
|
|
||||||
.. END SYNOPSIS
|
.. END SYNOPSIS
|
||||||
|
|
|
@ -9,7 +9,7 @@ Synopsis
|
||||||
.. synopsis::
|
.. synopsis::
|
||||||
|
|
||||||
string replace [-a | --all] [-f | --filter] [-i | --ignore-case]
|
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 ...]
|
PATTERN REPLACEMENT [STRING ...]
|
||||||
|
|
||||||
.. END SYNOPSIS
|
.. END SYNOPSIS
|
||||||
|
|
Loading…
Reference in a new issue