From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7735: A questing mark at the end of a string in ruby-mode Date: Sun, 26 Dec 2010 00:28:04 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1293321214 29419 80.91.229.12 (25 Dec 2010 23:53:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2010 23:53:34 +0000 (UTC) To: 7735@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 26 00:53:30 2010 Return-path: Envelope-to: geb-bug-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 1PWdvR-0006Lv-9n for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Dec 2010 00:53:29 +0100 Original-Received: from localhost ([127.0.0.1]:35041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWdvO-0005B7-SG for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Dec 2010 18:53:22 -0500 Original-Received: from [140.186.70.92] (port=44325 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWdvI-0005AZ-8K for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:53:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWdvF-00020d-AB for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:53:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWdvF-00020T-7w for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:53:13 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PWdR4-0000SZ-7e; Sat, 25 Dec 2010 18:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Dec 2010 23:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7735 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Emacs Bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.12933193081743 (code B ref -1); Sat, 25 Dec 2010 23:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2010 23:21:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWdQo-0000S4-TP for submit@debbugs.gnu.org; Sat, 25 Dec 2010 18:21:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWdQm-0000Rr-Vj for submit@debbugs.gnu.org; Sat, 25 Dec 2010 18:21:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWdXI-0006xk-53 for submit@debbugs.gnu.org; Sat, 25 Dec 2010 18:28:28 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:38073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWdXI-0006xg-36 for submit@debbugs.gnu.org; Sat, 25 Dec 2010 18:28:28 -0500 Original-Received: from [140.186.70.92] (port=50755 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWdXH-0005bk-9s for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:28:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PWdXG-0006xU-6a for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:28:27 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:60557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PWdXF-0006xQ-To for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2010 18:28:26 -0500 Original-Received: by ewy27 with SMTP id 27so4800252ewy.0 for ; Sat, 25 Dec 2010 15:28:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=rsGwmWKIV82UPzIk5hQNI9WOLali37FMHeRb8J53lsc=; b=arZ8xuInfLJ+gxtVGIuh7z82cVEqIdtGTs/NfVhPpIfJjTV5S4HY/ONMOJ5urlOeaR 1pLUgC3VguYuBydCABGdLduIFAFtpr6MLdvaW15cuPMZwJ959qf7DIdnhTU6TGQXJRP+ Thc9fstAyjR1nOSbbCcb4zGtUdEb6QxJNud+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=jaEJDrp2Y+ypg4c3lYspnEqGE3ACFch5iBgrvIo6e2Q02KFHm0AAXs3UDJ5NaCKeTk rye/PXMFfOsfDyEMBfJKrhZq+U8LZFgPv5w/4zbT6GzEh0WMKdQS+khaGViW7PYgCGIE OTZQ1tx8zasqsrr7LS18IQT7e4OcqQXPB11bE= Original-Received: by 10.213.28.147 with SMTP id m19mr9959618ebc.97.1293319705054; Sat, 25 Dec 2010 15:28:25 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Sat, 25 Dec 2010 15:28:04 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 25 Dec 2010 18:22:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42858 Archived-At: A question mark at the end of a string makes ruby-mode believe the string does not end there. To show this place the following in a ruby-mode buffer: re_str = wild.join(".*?") re = Regexp.new(re_str, 1) GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-12-15