> With a recently compiled emacs, string-match on the following input
> causes a stack overflow.

Yup.  Emacs's regexp matcher uses backtracking, even for regexps which could
be compiled into a DFA automaton.  So stack overflows are basically
unavoidable in general and are hence not considered as bug in and of
themselves (instead, the bug is generally in the regexp which needs to be
optimized/adjusted to work around or minimize the stack overflow problem).

I.e. if you tell us more, then maybe we can tell you how to avoid
the problem.


        Stefan


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to