summaryrefslogtreecommitdiff
path: root/src/regexp_bt.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0414: matchstr() still does not match column offsetv9.0.0414Bram Moolenaar2022-09-081-4/+6
| | | | | | | Problem: matchstr() still does not match column offset when done after a text search. Solution: Only use the line number for a multi-line search. Fix the test. (closes #10938)
* patch 9.0.0407: matchstr() does match column offsetv9.0.0407Bram Moolenaar2022-09-071-1/+1
| | | | | Problem: matchstr() does match column offset. (Yasuhiro Matsumoto) Solution: Accept line number zero. (closes #10938)
* patch 9.0.0228: crash when pattern looks below the last linev9.0.0228Bram Moolenaar2022-08-191-6/+11
| | | | | Problem: Crash when pattern looks below the last line. Solution: Consider invalid lines to be empty. (closes #10938)
* patch 9.0.0067: cannot show virtual textv9.0.0067Bram Moolenaar2022-07-251-1/+3
| | | | | Problem: Cannot show virtual text. Solution: Initial changes for virtual text support, using text properties.
* patch 8.2.5137: cannot build without the +channel featurev8.2.5137Bram Moolenaar2022-06-201-0/+2
| | | | | Problem: Cannot build without the +channel feature. (Dominique Pellé) Solution: Add #ifdef around ch_log() calls. (closes #10598)
* patch 8.2.5115: search timeout is overrun with some patternsv8.2.5115Bram Moolenaar2022-06-171-8/+31
| | | | | | Problem: Search timeout is overrun with some patterns. Solution: Check for timeout in more places. Make the flag volatile and atomic. Use assert_inrange() to see what happened.
* patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis2022-06-051-39/+15
| | | | | Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
* patch 8.2.5028: syntax regexp matching can be slowv8.2.5028Bram Moolenaar2022-05-271-5/+9
| | | | | | Problem: Syntax regexp matching can be slow. Solution: Adjust the counters for checking the timeout to check about once per msec. (closes #10487, closes #2712)
* patch 8.2.4978: no error if engine selection atom is not at the startv8.2.4978Christian Brabandt2022-05-181-0/+8
| | | | | Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes #10439)
* patch 8.2.4693: new regexp does not accept pattern "\%>0v"v8.2.4693Bram Moolenaar2022-04-051-1/+4
| | | | | Problem: new regexp does not accept pattern "\%>0v". Solution: Do accept digit zero.
* patch 8.2.4688: new regexp engine does not give an error for "\%v"v8.2.4688Bram Moolenaar2022-04-041-1/+2
| | | | | Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue #10079)
* patch 8.2.4646: using buffer line after it has been freedv8.2.4646Bram Moolenaar2022-03-291-0/+9
| | | | | Problem: Using buffer line after it has been freed in old regexp engine. Solution: After getting mark get the line again.
* patch 8.2.4440: crash with specific regexp pattern and stringv8.2.4440Bram Moolenaar2022-02-221-0/+5
| | | | | Problem: Crash with specific regexp pattern and string. Solution: Stop at the start of the string.
* patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar2022-01-311-29/+1
| | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
* patch 8.2.4046: some error messages not in the right placev8.2.4046Bram Moolenaar2022-01-081-1/+1
| | | | | Problem: Some error messages not in the right place. Solution: Adjust the errors file. Fix typo.
* patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar2022-01-051-3/+4
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.4005: error messages are spread outv8.2.4005Bram Moolenaar2022-01-041-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3983: error messages are spread outv8.2.3983Bram Moolenaar2022-01-021-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar2022-01-011-4/+4
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3962: build fails for missing error messagev8.2.3962Bram Moolenaar2021-12-311-1/+2
| | | | | Problem: Build fails for missing error message. Solution: Add changes in missed file.
* patch 8.2.3749: error messages are everywherev8.2.3749Bram Moolenaar2021-12-051-11/+11
| | | | | Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
* patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar2021-07-211-8/+8
| | | | | Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
* patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar2021-07-201-6/+6
| | | | | Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
* patch 8.2.3110: a pattern that matches the cursor position is complicatedv8.2.3110Bram Moolenaar2021-07-051-1/+33
| | | | | | Problem: A pattern that matches the cursor position is bit complicated. Solution: Use a dot to indicate the cursor line and column. (Christian Brabandt, closes #8497, closes #8179)
* patch 8.2.2885: searching for \%'> does not match linewise end of linev8.2.2885Bram Moolenaar2021-05-241-4/+16
| | | | | Problem: searching for \%'> does not match linewise end of line. (Tim Chase) Solution: Match end of line if column is MAXCOL. (closes #8238)
* patch 8.2.2829: some comments are not correct or clearv8.2.2829Bram Moolenaar2021-05-031-1/+1
| | | | | Problem: Some comments are not correct or clear. Solution: Adjust the comments. Add test for cursor position.
* patch 8.2.2716: the equivalent class regexp is missing some charactersv8.2.2716Bram Moolenaar2021-04-051-219/+385
| | | | | | Problem: The equivalent class regexp is missing some characters. Solution: Update the list of equivalent characters. (Dominique Pellé, closes #8029)
* patch 8.2.2181: valgrind warnings for using uninitialized valuev8.2.2181Bram Moolenaar2020-12-211-12/+15
| | | | | Problem: Valgrind warnings for using uninitialized value. Solution: Do not use "start" or "end" unless there is a match.
* patch 8.2.2121: internal error when using \ze before \zs in a patternv8.2.2121Bram Moolenaar2020-12-091-0/+17
| | | | | Problem: Internal error when using \ze before \zs in a pattern. Solution: Check the end is never before the start. (closes #7442)
* patch 8.2.1633: some error messages are internal but do not use iemsg()v8.2.1633Bram Moolenaar2020-09-071-5/+5
| | | | | Problem: Some error messages are internal but do not use iemsg(). Solution: Use iemsg(). (Dominique Pellé, closes #6894)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-1/+1
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0260: several lines of code are duplicatedv8.2.0260Bram Moolenaar2020-02-151-11/+1
| | | | | | Problem: Several lines of code are duplicated. Solution: Move duplicated code to a function. (Yegappan Lakshmanan, closes #5330)
* patch 8.2.0033: crash when make_extmatch() runs out of memoryv8.2.0033Bram Moolenaar2019-12-221-0/+2
| | | | | Problem: Crash when make_extmatch() runs out of memory. Solution: Check for NULL. (Dominique Pelle, closs #5392)
* patch 8.1.2010: new file uses old style commentsv8.1.2010Bram Moolenaar2019-09-081-508/+478
| | | | | Problem: New file uses old style comments. Solution: Change to new style comments. (Yegappan Lakshmanan, closes #4910)
* patch 8.1.2005: the regexp.c file is too bigv8.1.2005Bram Moolenaar2019-09-071-0/+5381
Problem: The regexp.c file is too big. Solution: Move the backtracking engine to a separate file. (Yegappan Lakshmanan, closes #4905)