Mercurial > vim
diff runtime/doc/pattern.txt @ 28911:e25196adb7c1 v8.2.4978
patch 8.2.4978: no error if engine selection atom is not at the start
Commit: https://github.com/vim/vim/commit/360da40b47a84ee8586c3b5d062f8c64a2ac9cc6
Author: Christian Brabandt <cb@256bit.org>
Date: Wed May 18 15:04:02 2022 +0100
patch 8.2.4978: no error if engine selection atom is not at the start
Problem: No error if engine selection atom is not at the start.
Solution: Give an error. (Christian Brabandt, closes https://github.com/vim/vim/issues/10439)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 May 2022 16:15:03 +0200 |
parents | c968191a8557 |
children | f8116058ca76 |
line wrap: on
line diff
--- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -379,7 +379,7 @@ Vim includes two regexp engines: 1. An old, backtracking engine that supports everything. 2. A new, NFA engine that works much faster on some patterns, possibly slower on some patterns. - + *E1281* Vim will automatically select the right engine for you. However, if you run into a problem or want to specifically select one engine or the other, you can prepend one of the following to the pattern: