tags 25391 patch quit Thierry Volpiatto writes: > > However, this handle the problem with "Stack overflow in regexp matcher" > generally, but perhaps regexps such as `ffap-gopher-regexp` could be > avoided when possible in emacs source code. Ah, so by "crash" you meant throw an error. > > IIUC regexps like "^.*\\(this\\|that etc...\\)" create an incredible > number of travels between bol and eol (which may sometimes be eob) and > lead to a stack overflow inevitably on long lines (perhaps not so long > in this case). Right, and ffap-gopher-at-point is also using `set' on local variables, icky. Here's a patch: