From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bourgneuf Francois" Newsgroups: gmane.emacs.help Subject: RE : matching [^/] Date: Fri, 9 Jul 2004 11:13:55 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1089364510 28585 80.91.224.253 (9 Jul 2004 09:15:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2004 09:15:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 09 11:15:00 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BirT9-0001Eh-00 for ; Fri, 09 Jul 2004 11:14:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BirVI-0008Ij-NB for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Jul 2004 05:17:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BirUo-0008IQ-VI for help-gnu-emacs@gnu.org; Fri, 09 Jul 2004 05:16:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BirUm-0008I2-HH for Help-gnu-emacs@gnu.org; Fri, 09 Jul 2004 05:16:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BirUm-0008Hl-BA for Help-gnu-emacs@gnu.org; Fri, 09 Jul 2004 05:16:40 -0400 Original-Received: from [195.101.229.226] (helo=zwa7221c.societe.mma.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BirSB-0006Uw-5L for Help-gnu-emacs@gnu.org; Fri, 09 Jul 2004 05:13:59 -0400 Original-Received: from zw67218c.societe.mma.fr ([10.200.3.34]) by zw67216c.societe.mma.fr with Microsoft SMTPSVC(5.0.2195.6713); Fri, 9 Jul 2004 11:13:56 +0200 content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6521.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: matching [^/] Thread-Index: AcRlkOYvHnMvDUIXT2qYHDC099fEFgAAuI/A Original-To: X-OriginalArrivalTime: 09 Jul 2004 09:13:56.0294 (UTC) FILETIME=[0FCE7E60:01C46595] 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19539 Emacs tells you "2 match(es)" witch means "// VP1zr " matches and "// = 1(0)" matches too. It doesn't match the line as a whole, it matches two different character = strings. Bour9. > -----Message d'origine----- > De :=20 > help-gnu-emacs-bounces+francois.bourgneuf=3Dgroupe-mma.fr@gnu.or > g=20 > [mailto:help-gnu-emacs-bounces+francois.bourgneuf=3Dgroupe-mma.f r@gnu.org] De la part de Simon Strobl > Envoy=E9 : vendredi 9 juillet 2004 10:40 > =C0 : help-gnu-emacs@gnu.org > Objet : matching [^/] >=20 >=20 > Hello, >=20 > suppose a buffer contains the following string and you want to match > the part "// VP1zr". > =20 > // VP1zr // 1(0) >=20 > I typed "//[^/]+" into the re-builder. It matched the whole line. I > could not find an explanation for this behaviour on the Emacs info > site. >=20 > Can someone explain it to me?=20 >=20 >=20 > Simon > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs >=20