From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 27 06:59:51 2018 Received: (at submit) by debbugs.gnu.org; 27 Oct 2018 10:59:51 +0000 Received: from localhost ([127.0.0.1]:44634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMJr-0001c1-JL for submit@debbugs.gnu.org; Sat, 27 Oct 2018 06:59:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMJq-0001bp-7e for submit@debbugs.gnu.org; Sat, 27 Oct 2018 06:59:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGMJk-0001sr-6p for submit@debbugs.gnu.org; Sat, 27 Oct 2018 06:59:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gGMJk-0001ri-1N for submit@debbugs.gnu.org; Sat, 27 Oct 2018 06:59:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGMJj-0000DX-95 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:59:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGMJh-0001qP-I4 for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:59:42 -0400 Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:40680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGMJe-0001gn-4N for bug-gnu-emacs@gnu.org; Sat, 27 Oct 2018 06:59:39 -0400 Received: by mail-pf1-x434.google.com with SMTP id g21-v6so1758123pfi.7 for ; Sat, 27 Oct 2018 03:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=9HbLu/ifgo+vPm4YDY4b6a248DU+7YwYUmoTOcmwgWY=; b=N2Lk6UHVJoNk41zaqIx04yyvvcYVTjINK/aWjRBsYguMvdGLw1x3BhoRUybt2IE/Ja UOKVF2O4lSkBSDeg1Vc2K+pZ+soxQub4bNtO0QUgL7PaxI9zlVvihI+IpFLGzLerMQe3 yxQEn9KHKIik/A3oLjXwXo6gyNybKH2kzc6XkXd7igwZBM3kYsd4lOJvwneiLdw4zu2i ePcR7pTI5ZMZFy4oTOKzwSQITfOzpG0wP3rvkNgaI6cgXGMJkgUrFIxkKUIzNiCRKG7U 6dVfz8/VWm1rgt0/vhV9RM/FMOFHZFeTq4hYwjF70/J1LbUfjzHw2uwePN9FgWpH13Jq UJcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=9HbLu/ifgo+vPm4YDY4b6a248DU+7YwYUmoTOcmwgWY=; b=LlGbYudm9+2FxgfDXeLS04U71rdNtKNWuku3jKa4OU4cf0rDFqR8fMqh9aUauTnYwI p4mXbeNElim5WQncLPO5rMbD++kbbgBiBM8BdPa4ogT84hhgocJJoJIGuwExJ1wYLoDv OUPGJQEQ1+ESiiagqCBPVGdW8y2/h477g6Dvalw9I78P7pjkaE5qIzFCExCH79+nGfrq up3jRyOAkfaGtup+W5Ov8Qb27UM7y5DEqRgoC0E9iWc6+/TcaxrOPehBmDfWbOEIkO3B vg6F0K9ChdLeXkI/0lrXPT4l1gOGA7ScEhQIdPY4f+uWF7TJ2TrbDUrxbBgjAMIZiJwl RORQ== X-Gm-Message-State: AGRZ1gJsKr5jjRe1wzBUoNmC7IE9UZRdpnJRLZcJQ2ZRgTfzP28F/EEu A9ISqDMpjsft6z993tx8cPHNRMk= X-Google-Smtp-Source: AJdET5fWXarSXzBRc3ilW8mjeX5kNyYNe+asYxZbPmr4me30gzP6FC99YM9MISu+hdPlwATm0TuT0w== X-Received: by 2002:a63:fa02:: with SMTP id y2mr6795275pgh.177.1540637958404; Sat, 27 Oct 2018 03:59:18 -0700 (PDT) Received: from ?IPv6:240b:251:9840:600:e02d:5e53:5702:dda4? ([240b:251:9840:600:e02d:5e53:5702:dda4]) by smtp.gmail.com with ESMTPSA id m25-v6sm6337457pgb.67.2018.10.27.03.59.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Oct 2018 03:59:17 -0700 (PDT) Message-ID: <5bd44505.1c69fb81.b3aa3.1034@mx.google.com> MIME-Version: 1.0 To: "bug-gnu-emacs@gnu.org" From: =?utf-8?Q?=E6=BF=B1=E7=94=B0=E5=92=8C=E6=98=8E?= Subject: 26.1; match-string Date: Sat, 27 Oct 2018 19:59:16 +0900 Importance: normal X-Priority: 3 Content-Type: multipart/alternative; boundary="_4AEEFB19-6802-40A4-8EB7-AB5EF2DBA078_" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --_4AEEFB19-6802-40A4-8EB7-AB5EF2DBA078_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" (progn (string-match "\\(key[ \t]*\\)=3D \\(.*\\)" (buffer-string)) (match-string 0)) Key =3D 100 ->#(" Key =3D 10" 0 1 (fontified t) 1 9 (fontified t)) Is not =E2=80=9Ckey =3D 100=E2=80=9D? --_4AEEFB19-6802-40A4-8EB7-AB5EF2DBA078_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

(progn

=C2= =A0=C2=A0 (string-match "\\(key[ \t]*\\)=3D \\(.*\\)" (buffer-str= ing))

=C2=A0=C2=A0 (match-string 0))

 

Key =3D 100

->#("

Key =3D 10" 0 1 (fo= ntified t) 1 9 (fontified t))

 

=

Is not =E2=80=9Ckey =3D 100=E2=80=9D?

 

= --_4AEEFB19-6802-40A4-8EB7-AB5EF2DBA078_-- From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 27 07:10:26 2018 Received: (at 33175) by debbugs.gnu.org; 27 Oct 2018 11:10:26 +0000 Received: from localhost ([127.0.0.1]:44648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMU6-0003v7-HM for submit@debbugs.gnu.org; Sat, 27 Oct 2018 07:10:26 -0400 Received: from mail-it1-f176.google.com ([209.85.166.176]:38542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGMU3-0003ud-1g; Sat, 27 Oct 2018 07:10:23 -0400 Received: by mail-it1-f176.google.com with SMTP id i76-v6so4618250ita.3; Sat, 27 Oct 2018 04:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=eM8NlgI2uzJke2UEU4ksm6zaUwGWVsEwN3bsx5cTbyM=; b=ciMlMgIleF8cGzbvU/p9d1izGQJWmnlGn6DVAzG4olLyciLNjKo4sDqknJtt2Bjock 6V78gqE/VLiHr4Not4ICmI0LYOkD5M4AJkbCcfYv/HYhigs4ZgR8JsH4AtGGg91UkaRb 7naAukt2OvKb520ZF5gEcbWQTxW8MiiHfvWIKKY5SDMp1HOJRsJSVfMIl1Nfdzso5pfn AFTf3AEMrBlzrEKavvT4R9NCLPbqWS3CdcRHsBHBkaTEmN5Y+GECxTne8WV7HXsknFcD cFsXLEL7rnbu0WWmHJPLo6Aq4jH4NDaXq0sBFbbsosj2GTat6KuSpMiALJ+aCrlETlYu Un9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=eM8NlgI2uzJke2UEU4ksm6zaUwGWVsEwN3bsx5cTbyM=; b=FLQgfwpG5MIRfuiMRF/krdZGsTEq1+nxRQMOIs0IVc27a73zk2v2X4IqiQ5IXgjW2I dMlu6j7mZpzFJyvMQhQf7bP3eWEC8roe1NfRD7BQJrjUcFejrr/l+Nti40CuGZmal0iK CpjqoWd7qd9IvCKk32bUzmhlrEf4pTz4EQJnhxIOPlg0qLSXR8JWMMlqF4qE0uWw7lwq Ot5S/Xuqh9Gxtt1Sr9I937Buqu/MIdECknEmsOmO8Oa59+M6hNuwzZL5YW0MslCwoZlM FAh4sCa6Fwv8OSMpsG0O1oh+Iu/HpOOnR8gcDpEjARWLGz2qgiO9lunXfH7moBa/6vZZ z22Q== X-Gm-Message-State: AGRZ1gIGoNw4r/qqbbdVi+arlRn0p2dJ36BCB2EaxpqCvDxGpDAH5X+r 60ElsyVXriAycvvXHkeisvpx1SIM X-Google-Smtp-Source: AJdET5foGaldlsEHf6BlB0l0WZloBNZ3mNtsidMFDBRvShzVzAiPX9iiq70/fjFSFEAUpEXCRKHo/w== X-Received: by 2002:a02:45ca:: with SMTP id o71-v6mr5040641jad.133.1540638617474; Sat, 27 Oct 2018 04:10:17 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id q205-v6sm4565895itc.2.2018.10.27.04.10.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Oct 2018 04:10:16 -0700 (PDT) From: Noam Postavsky To: =?utf-8?B?5r+x55Sw5ZKM5piO?= Subject: Re: bug#33175: 26.1; match-string References: <5bd44505.1c69fb81.b3aa3.1034@mx.google.com> Date: Sat, 27 Oct 2018 07:10:16 -0400 In-Reply-To: <5bd44505.1c69fb81.b3aa3.1034@mx.google.com> (=?utf-8?B?Ig==?= =?utf-8?B?5r+x55Sw5ZKM5piOIidz?= message of "Sat, 27 Oct 2018 19:59:16 +0900") Message-ID: <87lg6jk5lz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33175 Cc: 33175@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33175 notabug close 33175 quit =E6=BF=B1=E7=94=B0=E5=92=8C=E6=98=8E writes: > (progn > (string-match "\\(key[ \t]*\\)=3D \\(.*\\)" (buffer-string)) > (match-string 0)) > > Key =3D 100 > ->#(" > Key =3D 10" 0 1 (fontified t) 1 9 (fontified t)) > > Is not =E2=80=9Ckey =3D 100=E2=80=9D? (match-string NUM &optional STRING) [...] STRING should be given if the last search was by =E2=80=98string-match= =E2=80=99 on STRING. Try this instead: (let ((str (buffer-string))) (string-match "\\(key[ \t]*\\)=3D \\(.*\\)" str) (match-string 0 str)) From unknown Mon Aug 18 08:56:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Nov 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator