From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: Why regex with * get 'File mode specification error: (error "Stack overflow in regexp matcher")' Date: Tue, 18 Jan 2011 16:59:22 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295362920 7831 80.91.229.12 (18 Jan 2011 15:02:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2011 15:02:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 18 16:01:56 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PfD4B-0001OB-IH for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 16:01:51 +0100 Original-Received: from localhost ([127.0.0.1]:39694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfD4A-0006Mw-Tv for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jan 2011 10:01:51 -0500 Original-Received: from [140.186.70.92] (port=35687 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PfD29-0005YQ-Nt for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:59:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PfD28-0007KC-20 for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:59:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:39947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PfD27-0007Jj-SZ for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 09:59:44 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PfD1x-00086D-OG for help-gnu-emacs@gnu.org; Tue, 18 Jan 2011 15:59:33 +0100 Original-Received: from 91.193.68.214 ([91.193.68.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jan 2011 15:59:33 +0100 Original-Received: from gavenko by 91.193.68.214 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jan 2011 15:59:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.193.68.214 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-Spam-Report: 5.4 points; * -0.0 SPF_PASS SPF: sender matches SPF record * 4.0 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 4.0 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL * [91.193.68.214 listed in zen.spamhaus.org] Xref: news.gmane.org gmane.emacs.help:78537 Archived-At: On top of log file I usually place -*- mode: compilation-minor; mode: auto-revert-tail; default-directory: "~/devel" -*- My errors format in log is GNU. I put additional matcher (which not work in my case, for KEIL compiler): (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]*\\)\"?,\\([0-9]*\\) .*\\[.*\\]: " 1 2)) I debug that this line cause error: File mode specification error: (error "Stack overflow in regexp matcher") I change it to: (add-to-list 'compilation-error-regexp-alist '("^\"?\\([^\"]\{1,\}\\)\"?,\\([0-9]\{1,\}\\) .*\\[.*\\]: " 1 2)) by replacing '*' with '\{1,\}' and error goes away! Also error occur when '*' replace with '+'.