diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-10-12 12:14:01 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-10-12 12:41:21 +1100 |
| commit | 246a32797a17e7cdebcde64ac98c09501d1da10d (patch) | |
| tree | 070a743669449d9b35605abc707dee727bb65d56 /src/insert_completer.cc | |
| parent | 600be827b378444ed548492328a041a0b5154a70 (diff) | |
Fix region regexes incorrectly matching ^$ at end of line
Because no flags were set for regex matching, the regex engine was
assuming that the subject string past-the-end matched a end-of-line.
As the subject string already ended with a \n character, the regex
engine processing of the "past-the-end" position would match '^$'
as ^ matched past the existing \n and $ matched the assumed
end-of-line.
Fixes #3799
Diffstat (limited to 'src/insert_completer.cc')
0 files changed, 0 insertions, 0 deletions
