kakoune/test/regression
Maxime Coste 246a32797a 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
2020-10-12 12:41:21 +11:00
..
595-smart-search-unicode Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
612-assertion-with-NormalBegin-hook
633-spurious-new-line-inserted-when-replacing-at-end
638-highlight-codepoint-with-bracket test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
643-crash-on-a-@-on-specially-crafted-buffer
654-crash-on-undo-after-macro
699-to-eol-from-eol Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
704-crash-when-using-a-hook-on-NormalBegin-and-NormalEnd
733-selection-list-from-string-not-valid
743-crash-on-replace-undo Rework compute_modified_ranges 2016-07-26 23:31:23 +01:00
751-wrong-selection-after-undo
787-crash-after-S
809-alt-f-t-to-first-char
811-double-width-codepoints
844-prev-word-at-buffer-start
860-python-incorrect-commenting
872-indentation-misbeahviour-c++
918-wrong-asterisk-inserted
921-keep-empty-line-matches-all-lines
993-user-text-object
1014-ambiguous-kak_selections test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
1051-crash-on-empty-param
1053-crash-on-deletion-and-paste
1074-comment-leader-autoinsert-error
1105-object-selection-behaviour
1111-unexpected-behaviour-on-new-line-in-comment
1118-misaligned-comment-start
1129-capture-groups-are-broken
1195-infinite-loop-in-regex-matching
1227-segfault-on-option-access
1233-corrent-cursor-handling-for-indent-objects
1275-replaced-range-split
1308-wrong-behaviour-of-kak-indent-on-newline
1382-column-highlighter-broken-on-horizontal-scroll
1433-scrolloff-broken-with-soft-wrap
1435-misplaced-cursor-with-show_matching-hl test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
1453-show_whitespaces-highlighter-breaks-tab-alignment
1459-assertion-on-wrapped-long-line
1469-assert-on-repeat-insert
1504-assertion-on-incorrect-pipe-use Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
1518-wrong-undo-handling-with-fifo-buffers
1525-lua-indent-error
1580-A-not-moving-to-eol Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
1680-crash-with-dot-and-alt-semicolon
1731-wrap-hidden-buffer
1741-scrolloff-hides-end-of-lines test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
1829-unicode-as-string-delimiter
1902-regex-lookbehind-ignore-before-current-pos Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
1904-select-empty-line-indent-gets-whole-buffer
1920-crash-on-python-in-docstring
1937-opening-missing-file-by-full-path-fails
1964-O-does-not-position-cursor-correctly
2030-custom-selection-nesting test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
2056-assert-on-small-window
2078-assert-on-restoring-invalid-selections Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
2129-inside-parentheses
2133-assert-on-rotate-contents Refactor the way main selection is determined after rotating contents 2018-06-21 08:07:17 +10:00
2245-wrap-long-word
2367-surround-with-tight-nesting
2420-discrepancy-in-star-behaviour Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
2499-html-regions-assert test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
2562-column-highlighter-bleeding
2711-weird-regex-highlighter-behaviour
2737-segfault-on-WinDisplay-hook
2755-segfault-on-double-wrap-highlighters
2861-backspace-merges-selections
2999-buggy-wrapping
3010-extra_word_chars-fails-with-other-buffers
3025-last-buffer-does-not-work-in-draft-context
3041-invalid-regex-highlight-accross-regions Split RegexHighlighters matches per requested buffer ranges 2020-01-05 18:58:32 +11:00
3048-word-wrapping-broken
3219-scroll-json-ui
3270-crash-in-autocomplete Update inserted range when generating InsertCompletionHide hook param 2020-01-08 20:33:26 +11:00
3275-crash-on-replace-at-buffer-start Fix replacing at begining of buffer 2019-12-31 12:49:24 +11:00
3349-crash-in-completion Fix invalid access to deleted line when updating insert completion 2020-03-14 13:49:52 +11:00
3388-command-line-parsing-does-not-preserve-invalid-utf8 Fix use of non-posix \x printf escape 2020-03-13 09:33:19 +11:00
3398-readonly-fifo-failure Allow reading from fifo in readonly buffers 2020-03-14 12:58:22 +11:00
3439-parse-ascii-newline-as-return Parse ascii newline/tab/escape as special keys instead of control keys 2020-04-13 12:44:15 +10:00
3472-crash-on-to-sentence-start Fix select_sentence going past the end of the buffer 2020-05-10 15:13:15 +10:00
3478-crash-on-scroll Fix selections getting unsorted on scroll 2020-07-05 10:13:57 +10:00
3489-crash-on-paragraph-begin Fix crash when selecting previous paragraph at buffer begin 2020-05-17 14:15:48 +02:00
3495-crash-highlighting-hidden-lines Fix invalid regions with begin > end being generated 2020-05-28 20:58:46 +10:00
3544-capture-get-lost Fix select wiping captures 2020-06-07 14:12:54 +10:00
3733-modeline-parsing-off-by-one-line test: Implement a regression test for #3733 2020-09-16 11:00:15 +03:00
3735-modeline-arbitrary-code-execution test: Implement a regression test for #3735 2020-09-18 09:01:32 +03:00
3757-crash-on-capture-group-select Ensure that the capture group actually matched in select_matches 2020-09-22 21:14:40 +10:00
3799-incorrect-region-match Fix region regexes incorrectly matching ^$ at end of line 2020-10-12 12:41:21 +11:00
0-assert-on-itersel
0-comment-after-command
0-compute-modified-range-crash
0-crash-on-backspace-at-buffer-begin
0-crash-on-BufSetOption-hook
0-crash-on-delete-buffer-BufClose
0-crash-on-pipe-with-selection-access
0-crash-on-specialy-crafted-modeline
0-deindent-on-mixed-indent-line
0-nothing-selected-on-prompt-initial-shift-tab
0-open-below-should-not-move-cursor-on-eol Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
0-replace-last-eol-with-eol
0-rotate-at-eof-mutates-selection
0-select-object-with-empty-begin-match Fix issue with select object and empty matches 2020-04-21 13:21:35 +10:00
0-spurious-undo-group-on-external Only commit undo groups when buffer was modified 2018-09-12 20:02:57 +10:00
0-undo-change-at-eof