<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/vim-git.git/src/regexp.h, branch v8.1.0354</title>
<subtitle>github.com: vim/vim.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/'/>
<entry>
<title>patch 8.1.0192: executing regexp recursively fails with a crash</title>
<updated>2018-07-17T03:43:58+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2018-07-17T03:43:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=0270f38e1ae484c31a80c813a08691c47a207f1a'/>
<id>0270f38e1ae484c31a80c813a08691c47a207f1a</id>
<content type='text'>
Problem:    Executing regexp recursively fails with a crash.
Solution:   Move global variables into "rex".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Executing regexp recursively fails with a crash.
Solution:   Move global variables into "rex".
</pre>
</div>
</content>
</entry>
<entry>
<title>patch 8.0.0643: when a pattern search is slow Vim becomes unusable</title>
<updated>2017-06-17T16:44:21+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2017-06-17T16:44:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=fbd0b0af6800f6ff89857863d6a07ea03f09ff6c'/>
<id>fbd0b0af6800f6ff89857863d6a07ea03f09ff6c</id>
<content type='text'>
Problem:    When 'hlsearch' is set and matching with the last search pattern
            is very slow, Vim becomes unusable.  Cannot quit search by
            pressing CTRL-C.
Solution:   When the search times out set a flag and don't try again.  Check
            for timeout and CTRL-C in NFA loop that adds states.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    When 'hlsearch' is set and matching with the last search pattern
            is very slow, Vim becomes unusable.  Cannot quit search by
            pressing CTRL-C.
Solution:   When the search times out set a flag and don't try again.  Check
            for timeout and CTRL-C in NFA loop that adds states.
</pre>
</div>
</content>
</entry>
<entry>
<title>patch 7.4.2293</title>
<updated>2016-08-29T20:49:24+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2016-08-29T20:49:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=edf3f97ae2af024708ebb4ac614227327033ca47'/>
<id>edf3f97ae2af024708ebb4ac614227327033ca47</id>
<content type='text'>
Problem:    Modelines in source code are inconsistant.
Solution:   Use the same line in most files.  Add 'noet'.  (Naruhiko Nishino)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Modelines in source code are inconsistant.
Solution:   Use the same line in most files.  Add 'noet'.  (Naruhiko Nishino)
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.4.497</title>
<updated>2014-11-05T13:27:36+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2014-11-05T13:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=fda3729a064d6466cec6ac83dd1bfcc437ea4cc9'/>
<id>fda3729a064d6466cec6ac83dd1bfcc437ea4cc9</id>
<content type='text'>
Problem:    With some regexp patterns the NFA engine uses many states and
            becomes very slow.  To the user it looks like Vim freezes.
Solution:   When the number of states reaches a limit fall back to the old
            engine. (Christian Brabandt)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    With some regexp patterns the NFA engine uses many states and
            becomes very slow.  To the user it looks like Vim freezes.
Solution:   When the number of states reaches a limit fall back to the old
            engine. (Christian Brabandt)
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.4.262</title>
<updated>2014-04-23T17:06:37+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2014-04-23T17:06:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=2af78a14088a158208eab0853201b8ce07b2ac03'/>
<id>2af78a14088a158208eab0853201b8ce07b2ac03</id>
<content type='text'>
Problem:    Duplicate code in regexec().
Solution:   Add line_lbr flag to regexec_nl().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Duplicate code in regexec().
Solution:   Add line_lbr flag to regexec_nl().
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.3.1165</title>
<updated>2013-06-11T16:42:36+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2013-06-11T16:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=16619a235bae49c11d28ac462dc2d42fcfea44ba'/>
<id>16619a235bae49c11d28ac462dc2d42fcfea44ba</id>
<content type='text'>
Problem:    HP-UX compiler can't handle zero size array. (Charles Cooper)
Solution:   Make the array one item big.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    HP-UX compiler can't handle zero size array. (Charles Cooper)
Solution:   Make the array one item big.
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.3.1149</title>
<updated>2013-06-08T16:19:48+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2013-06-08T16:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=473de61b0409f8f8c86585733f099f882122b280'/>
<id>473de61b0409f8f8c86585733f099f882122b280</id>
<content type='text'>
Problem:    New regexp engine: Matching plain text could be faster.
Solution:   Detect a plain text match and handle it specifically.  Add
            vim_regfree().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    New regexp engine: Matching plain text could be faster.
Solution:   Detect a plain text match and handle it specifically.  Add
            vim_regfree().
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.3.1139</title>
<updated>2013-06-07T14:31:50+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2013-06-07T14:31:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=decd9540fd09465c9e39e1609e94676b7b962cea'/>
<id>decd9540fd09465c9e39e1609e94676b7b962cea</id>
<content type='text'>
Problem:    New regexp engine: negated flag is hardly used.
Solution:   Add separate _NEG states, remove negated flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    New regexp engine: negated flag is hardly used.
Solution:   Add separate _NEG states, remove negated flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.3.1133</title>
<updated>2013-06-06T16:46:06+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2013-06-06T16:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=d89616ebb8c0f7c4b96c96f971e2bf9ac944dd44'/>
<id>d89616ebb8c0f7c4b96c96f971e2bf9ac944dd44</id>
<content type='text'>
Problem:    New regexp engine is a bit slow.
Solution:   Skip ahead to a character that must match.  Don't try matching a
            "^" patter past the start of line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    New regexp engine is a bit slow.
Solution:   Skip ahead to a character that must match.  Don't try matching a
            "^" patter past the start of line.
</pre>
</div>
</content>
</entry>
<entry>
<title>updated for version 7.3.1106</title>
<updated>2013-06-03T10:17:04+00:00</updated>
<author>
<name>Bram Moolenaar</name>
<email>Bram@vim.org</email>
</author>
<published>2013-06-03T10:17:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/vim-git.git/commit/?id=dd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629'/>
<id>dd2ccdf6eaf3de0a5e9a4bb3b9e08dd55168c629</id>
<content type='text'>
Problem:    New regexp engine: saving and restoring lastlist in the states
            takes a lot of time.
Solution:   Use a second lastlist value for the first recursive call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    New regexp engine: saving and restoring lastlist in the states
            takes a lot of time.
Solution:   Use a second lastlist value for the first recursive call.
</pre>
</div>
</content>
</entry>
</feed>
