|
From: | Richard Stallman |
Subject: | Re: re-search-backward doesn't return |
Date: | Sun, 14 Mar 2004 23:56:11 -0500 |
(re-search-backward "\\([a-z (]*\\)*ne" (point-min) t)) The problem is a repetition operator inside a repetition operator. That regexp can match the null string in infinitely many different ways, so it causes an infinite loop.
[Prev in Thread] | Current Thread | [Next in Thread] |