diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-27 17:21:28 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-01-27 17:27:15 +0100 |
commit | 4287d56bad5201cf0946526bb0e27c17426bd969 (patch) | |
tree | 81c57c54a51a43f7d6eccf8a83b05175e0656551 /lisp/emacs-lisp | |
parent | 627ac228b2ecdf179f36ea41fd0254c091744e4b (diff) | |
download | emacs-4287d56bad5201cf0946526bb0e27c17426bd969.tar.gz emacs-4287d56bad5201cf0946526bb0e27c17426bd969.tar.bz2 emacs-4287d56bad5201cf0946526bb0e27c17426bd969.zip |
Repair hideif regexp problems
* lisp/progmodes/hideif.el (hif-white-regexp, hif-tokenize):
Avoid superlinear backtracking behaviour by rewriting regexps
to avoid nested repetitions and make positive progress each time.
Use lazy matching of the innards of /*...*/ comments to avoid
matching too much.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions