From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.bugs Subject: regexp-exec fails for long strings Date: Thu, 25 Apr 2002 13:05:50 -0700 Sender: bug-guile-admin@gnu.org Message-ID: Reply-To: ttn@glug.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019765534 14319 127.0.0.1 (25 Apr 2002 20:12:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 25 Apr 2002 20:12:14 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 170pbB-0003iq-00 for ; Thu, 25 Apr 2002 22:12:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170pb5-0007vm-00; Thu, 25 Apr 2002 16:12:07 -0400 Original-Received: from ca-crlsbd-u5-c4a-a-172.crlsca.adelphia.net ([24.48.214.172] helo=giblet) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 170pZJ-0007rm-00; Thu, 25 Apr 2002 16:10:17 -0400 Original-Received: from ttn by giblet with local (Exim 3.33 #1 (Debian)) id 170pV0-00018q-00; Thu, 25 Apr 2002 13:05:50 -0700 Original-To: bug-guile@gnu.org Errors-To: bug-guile-admin@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.bugs:183 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:183 well, good and bad news. the good news is that another guile project was recently added to the projects list. the bad news is that for www.gnu.org, template.scm now fails due to unfulfilled regexp matching. (this has resulted in an empty project page there.) below is a test case that demonstrates the problem. running "pre-inst-guile -s" on it shows three "ok" and three "FAIL" for both HEAD and branch_release-1-6. if someone can confirm similar behavior on another system (perhaps by varying the appended string length), i will add this to the bugs db. (i ask for this confirmation because my system's old sdrams are prone to mysterious failures, and i want to rule that out as a reason.) thi ____________________________________________ (use-modules (ice-9 regex)) (define ok "Projects List") (define rx (make-regexp "(.*)")) (define (+space s n) (string-append s (make-string n #\space))) (define (test s) (format #t "string-length ~A\t=> ~A\n" (string-length s) (if (regexp-exec rx s) "ok" "FAIL"))) ;; do it (test ok) ; ok (test (+space ok 11672)) ; ok (test (+space ok 11673)) ; ok (test (+space ok 11674)) ; FAIL (test (+space ok 11675)) ; FAIL (test (+space ok 11700)) ; FAIL _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile