From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: regexp-builder shows matches, re-search-forward fails? Date: Thu, 26 Jul 2012 16:24:49 +0530 Message-ID: <81lii623nq.fsf@gmail.com> References: <87394eeqx3.fsf@googlemail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343300123 27720 80.91.229.3 (26 Jul 2012 10:55:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 10:55:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thorsten Jolitz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 12:55:23 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SuLiw-0006Lj-JJ for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 12:55:18 +0200 Original-Received: from localhost ([::1]:37062 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuLiw-00039W-02 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 06:55:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuLii-00035Z-16 for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 06:55:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuLih-00068u-Lo for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 06:55:03 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:65294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuLih-00066r-E4 for help-gnu-emacs@gnu.org; Thu, 26 Jul 2012 06:55:03 -0400 Original-Received: by yenr5 with SMTP id r5so2191365yen.0 for ; Thu, 26 Jul 2012 03:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bGqh1Qe6a9UWAx2P/wENvzpIpr4oz203QnYbWJHlHiM=; b=pBJYQ0g+sny2AwH5q/GoDnFqa4KqOidQOntTE4h5HUMTdUTqBq4fGbqehyO3fHxvWz OiQRNMIKmNlcPEFHqRtIXLk7TYJmAhZLD5+NBc08IIctP1ymJPunZjdTUf01uUZxdhaA 0udLJLPfUcHi1iaaPbZVQ0Dnax+EYSXbDLXyJNgkSmy4MUCOH98g/qz7hA4Cz/6OV7vS e1/Gy1+MUrUwUFnMzgRvhlQHLzkI8ec5+zq6QETMNngKlZWuv04pR9HaqYfYw7hVufy4 /B0HzUa4pAfy/2enDQUxmnA3Zzn1NLMux4CFQocBw9savSVgP41NoicBp9ei8AJPC9jz Zzkw== Original-Received: by 10.66.87.2 with SMTP id t2mr19650942paz.22.1343300102264; Thu, 26 Jul 2012 03:55:02 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([101.62.5.36]) by mx.google.com with ESMTPS id gj10sm7771189pbc.18.2012.07.26.03.54.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 Jul 2012 03:55:01 -0700 (PDT) In-Reply-To: <87394eeqx3.fsf@googlemail.com> (Thorsten Jolitz's message of "Thu, 26 Jul 2012 12:51:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86057 Archived-At: Thorsten Jolitz writes: > Hi List, > > I constructed a regexp with regexp-builder for a buffer, the matches are > clearly shown, with all the subexpressions in different colors. Then I > do reb-copy and paste the regexp as argument for a re-search-forward > call. In the same buffer I used to build the regexp, re-search-forward > now fails to match anything. > > What might be the reason? Check you `point'. Is it already past the matches? --