Fix reference to perl regex syntax, Kakoune's is based on ECMAScript
Fixes #2271
This commit is contained in:
parent
3b77398c5b
commit
dabceaf05b
|
@ -509,8 +509,8 @@ A multiselection can also be obtained with `S`, which splits the current
|
||||||
selection according to the regex entered. To split a comma separated list,
|
selection according to the regex entered. To split a comma separated list,
|
||||||
use `S` then ', *'
|
use `S` then ', *'
|
||||||
|
|
||||||
The regex syntax supported by Kakoune is the Perl one and is described
|
The regex syntax supported by Kakoune is the based on the ECMAScript script
|
||||||
here <<Regex syntax>>.
|
syntax and is described at <<doc/pages/regex#,`:doc regex`>>.
|
||||||
|
|
||||||
`s` and `S` share the search pattern with `/`, and hence entering an empty
|
`s` and `S` share the search pattern with `/`, and hence entering an empty
|
||||||
pattern uses the last one.
|
pattern uses the last one.
|
||||||
|
|
|
@ -102,7 +102,7 @@ using the built-in `:doc` command.
|
||||||
this behavior is only a preview, exiting prompt mode with
|
this behavior is only a preview, exiting prompt mode with
|
||||||
the `<esc>` (escape) key will leave the current position
|
the `<esc>` (escape) key will leave the current position
|
||||||
.---, of the cursor unchanged. Note that you can also use a
|
.---, of the cursor unchanged. Note that you can also use a
|
||||||
| n | Perl regular expression as input. By default the search
|
| n | regular expression as input. By default the search
|
||||||
`---' function will look for results forward, starting from
|
`---' function will look for results forward, starting from
|
||||||
the current location of the cursor, but you can search
|
the current location of the cursor, but you can search
|
||||||
.---, .---, backwards using `<a-/>` (alt + `/`).
|
.---, .---, backwards using `<a-/>` (alt + `/`).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user