Fix reference to perl regex syntax, Kakoune's is based on ECMAScript

Fixes #2271
This commit is contained in:
Maxime Coste 2018-07-31 15:58:07 +01:00
parent 3b77398c5b
commit dabceaf05b
2 changed files with 3 additions and 3 deletions

View File

@ -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,
use `S` then ', *'
The regex syntax supported by Kakoune is the Perl one and is described
here <<Regex syntax>>.
The regex syntax supported by Kakoune is the based on the ECMAScript script
syntax and is described at <<doc/pages/regex#,`:doc regex`>>.
`s` and `S` share the search pattern with `/`, and hence entering an empty
pattern uses the last one.

View File

@ -102,7 +102,7 @@ using the built-in `:doc` command.
this behavior is only a preview, exiting prompt mode with
the `<esc>` (escape) key will leave the current position
.---, 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
the current location of the cursor, but you can search
.---, .---, backwards using `<a-/>` (alt + `/`).