X-Loop: help-debbugs@HIDDEN Subject: bug#24457: [PATCH] sed: use dfa matcher for regex with anchor Resent-From: Norihiro Tanaka <noritnk@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Sun, 18 Sep 2016 09:02:01 +0000 Resent-Message-ID: <handler.24457.B.147418927118407 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 24457 X-GNU-PR-Package: sed X-GNU-PR-Keywords: patch To: 24457 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-sed@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.147418927118407 (code B ref -1); Sun, 18 Sep 2016 09:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2016 09:01:11 +0000 Received: from localhost ([127.0.0.1]:34209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1blXyJ-0004mp-DD for submit <at> debbugs.gnu.org; Sun, 18 Sep 2016 05:01:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noritnk@HIDDEN>) id 1blXyE-0004mK-RF for submit <at> debbugs.gnu.org; Sun, 18 Sep 2016 05:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <noritnk@HIDDEN>) id 1blXy7-0007uj-TZ for submit <at> debbugs.gnu.org; Sun, 18 Sep 2016 05:01:01 -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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <noritnk@HIDDEN>) id 1blXy7-0007uV-Qb for submit <at> debbugs.gnu.org; Sun, 18 Sep 2016 05:00:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <noritnk@HIDDEN>) id 1blXy5-0008R8-0w for bug-sed@HIDDEN; Sun, 18 Sep 2016 05:00:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <noritnk@HIDDEN>) id 1blXy0-0007su-Dl for bug-sed@HIDDEN; Sun, 18 Sep 2016 05:00:56 -0400 Received: from mailgw06.kcn.ne.jp ([61.86.7.213]:52496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <noritnk@HIDDEN>) id 1blXxz-0007qt-Tg for bug-sed@HIDDEN; Sun, 18 Sep 2016 05:00:52 -0400 Received: from mxs01-s (mailgw1.kcn.ne.jp [61.86.15.233]) by mailgw06.kcn.ne.jp (Postfix) with ESMTP id 878F9C8004 for <bug-sed@HIDDEN>; Sun, 18 Sep 2016 18:00:40 +0900 (JST) X-matriXscan-loop-detect: 848304ecfa62c97ee52833cb74b3759706cf3b20 Received: from mail08.kcn.ne.jp ([61.86.6.187]) by mxs01-s with ESMTP; Sun, 18 Sep 2016 18:00:37 +0900 (JST) Received: from [10.120.1.52] (i118-21-128-66.s30.a048.ap.plala.or.jp [118.21.128.66]) by mail08.kcn.ne.jp (Postfix) with ESMTPA id BE85912B802E for <bug-sed@HIDDEN>; Sun, 18 Sep 2016 18:00:37 +0900 (JST) Date: Sun, 18 Sep 2016 18:00:38 +0900 From: Norihiro Tanaka <noritnk@HIDDEN> Message-Id: <20160918180038.704D.27F6AC2D@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_57DE55E0000000007041_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.65.07 [ja] X-matriXscan-Sophos-AV: Clean X-matriXscan-Action: Approve X-matriXscan: Uncategorized X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) --------_57DE55E0000000007041_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Recently, dfa module started to support that newline_anchor option is set to false. sed could not use dfa fully up to now, as sed sets newline_anchor to false in many cases. This change is that sed uses dfa even if newline_anchor option is false. --------_57DE55E0000000007041_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII"; name="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Disposition: attachment; filename="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Transfer-Encoding: base64 RnJvbSAxNmU1OWQ2N2U3Yjg3MTA5ODU1MTdmOGM4ZTVhMmFiYmIzNDI0MzcxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb3JpaGlybyBUYW5ha2EgPG5vcml0bmtAa2NuLm5lLmpwPgpE YXRlOiBNb24sIDEyIFNlcCAyMDE2IDIzOjA4OjMxICswOTAwClN1YmplY3Q6IFtQQVRDSF0gc2Vk OiB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jYXBlLmdvb2QgXAogCXRl c3RzdWl0ZS9hbXAtZXNjYXBlLmlucCBcCiAJdGVzdHN1aXRlL2FtcC1lc2NhcGUuc2VkIFwKKwl0 ZXN0c3VpdGUvYW5jaG9yLmdvb2QgXAorCXRlc3RzdWl0ZS9hbmNob3IuaW5wIFwKKwl0ZXN0c3Vp dGUvYW5jaG9yLnNlZCBcCiAJdGVzdHN1aXRlL2FwcHF1aXQuZ29vZCBcCiAJdGVzdHN1aXRlL2Fw cHF1aXQuaW5wIFwKIAl0ZXN0c3VpdGUvYXBwcXVpdC5zZWQgXAotLSAKMS43LjEKCg== --------_57DE55E0000000007041_MULTIPART_MIXED_--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Norihiro Tanaka <noritnk@HIDDEN> Subject: bug#24457: Acknowledgement ([PATCH] sed: use dfa matcher for regex with anchor) Message-ID: <handler.24457.B.147418927118407.ack <at> debbugs.gnu.org> References: <20160918180038.704D.27F6AC2D@HIDDEN> X-Gnu-PR-Message: ack 24457 X-Gnu-PR-Package: sed X-Gnu-PR-Keywords: patch Reply-To: 24457 <at> debbugs.gnu.org Date: Sun, 18 Sep 2016 09:02:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-sed@HIDDEN If you wish to submit further information on this problem, please send it to 24457 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 24457: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24457 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#24457: [PATCH] sed: use dfa matcher for regex with anchor Resent-From: Norihiro Tanaka <noritnk@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Sun, 06 Nov 2016 14:27:02 +0000 Resent-Message-ID: <handler.24457.B24457.147844240012315 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24457 X-GNU-PR-Package: sed X-GNU-PR-Keywords: patch To: 24457 <at> debbugs.gnu.org Received: via spool by 24457-submit <at> debbugs.gnu.org id=B24457.147844240012315 (code B ref 24457); Sun, 06 Nov 2016 14:27:02 +0000 Received: (at 24457) by debbugs.gnu.org; 6 Nov 2016 14:26:40 +0000 Received: from localhost ([127.0.0.1]:46545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c3OPA-0003CZ-6T for submit <at> debbugs.gnu.org; Sun, 06 Nov 2016 09:26:40 -0500 Received: from mailgw01.kcn.ne.jp ([61.86.7.208]:59912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noritnk@HIDDEN>) id 1c3OP5-0003CG-GP for 24457 <at> debbugs.gnu.org; Sun, 06 Nov 2016 09:26:39 -0500 Received: from mxs02-s (mailgw2.kcn.ne.jp [61.86.15.234]) by mailgw01.kcn.ne.jp (Postfix) with ESMTP id 374664A0875 for <24457 <at> debbugs.gnu.org>; Sun, 6 Nov 2016 23:26:28 +0900 (JST) X-matriXscan-loop-detect: eaf9be729dbb5c8684a96f91df16935920e9585c Received: from mail04.kcn.ne.jp ([61.86.6.183]) by mxs02-s with ESMTP; Sun, 06 Nov 2016 23:26:26 +0900 (JST) Received: from [10.120.1.48] (i118-21-128-66.s30.a048.ap.plala.or.jp [118.21.128.66]) by mail04.kcn.ne.jp (Postfix) with ESMTPA id AF803129009A for <24457 <at> debbugs.gnu.org>; Sun, 6 Nov 2016 23:26:25 +0900 (JST) Date: Sun, 06 Nov 2016 23:26:23 +0900 From: Norihiro Tanaka <noritnk@HIDDEN> In-Reply-To: <20160918180038.704D.27F6AC2D@HIDDEN> References: <20160918180038.704D.27F6AC2D@HIDDEN> Message-Id: <20161106232603.786E.27F6AC2D@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_581F3D47000000007869_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.65.07 [ja] X-matriXscan-Sophos-AV: Clean X-matriXscan-Action: Approve X-matriXscan: Uncategorized X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.0 (--) --------_581F3D47000000007869_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit On Sun, 18 Sep 2016 18:00:38 +0900 Norihiro Tanaka <noritnk@HIDDEN> wrote: > Recently, dfa module started to support that newline_anchor option is > set to false. > > sed could not use dfa fully up to now, as sed sets newline_anchor to > false in many cases. > > This change is that sed uses dfa even if newline_anchor option is false. Hi, I rebased the patch. Norihiro --------_581F3D47000000007869_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII"; name="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Disposition: attachment; filename="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Transfer-Encoding: base64 RnJvbSBmMmM4ZWI3YWFlYzMxMmUxNTExZTY1Njc2Yzc2NGRiNWZkYThhYzhmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb3JpaGlybyBUYW5ha2EgPG5vcml0bmtAa2NuLm5lLmpwPgpE YXRlOiBTdW4sIDYgTm92IDIwMTYgMTA6MjU6NDEgKzA5MDAKU3ViamVjdDogW1BBVENIXSBzZWQ6 IHVzZSBkZmEgbWF0Y2hlciBmb3IgcmVnZXggd2l0aCBhbmNob3IKCiogc2VkL3JlZ2V4LmMgKGNv bXBpbGVfcmVnZXhfMSwgbWF0Y2hfcmVnZXgpOiBVc2UgZGZhIG1hdGNoZXIgZm9yIHJlZ2V4Cndp dGggYW5jaG9yLgoqIHRlc3RzdWl0ZS9sb2NhbGUubWs6IEFkZCBuZXcgdGVzdC4KKiB0ZXN0c3Vp dGUvTWFrZWZpbGUudGVzdHM6CiogdGVzdHN1aXRlL2FuY2hvci5nb29kOiBOZXcgdGVzdC1yZWxh dGVkIGZpbGVzLgoqIHRlc3RzdWl0ZS9hbmNob3IuaW5wOgoqIHRlc3RzdWl0ZS9hbmNob3Iuc2Vk OgotLS0KIHNlZC9yZWdleHAuYyAgICAgICAgICAgICB8ICAgIDYgKysrLS0tCiB0ZXN0c3VpdGUv TWFrZWZpbGUudGVzdHMgfCAgICAyICstCiB0ZXN0c3VpdGUvbG9jYWwubWsgICAgICAgfCAgICA1 ICsrKystCiAzIGZpbGVzIGNoYW5nZWQsIDggaW5zZXJ0aW9ucygrKSwgNSBkZWxldGlvbnMoLSkK CmRpZmYgLS1naXQgYS9zZWQvcmVnZXhwLmMgYi9zZWQvcmVnZXhwLmMKaW5kZXggYzIxYTNhOS4u OTA3OGMwNyAxMDA2NDQKLS0tIGEvc2VkL3JlZ2V4cC5jCisrKyBiL3NlZC9yZWdleHA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hdCBjYW4gcGVy dHVyYiB0ZXN0cyBhcmUgdW5zZXQgb3Igc2V0IHRvIGV4cGVjdGVkIHZhbHVlcy4KQEAgLTE4Niw2 ICsxODYsOSBAQCBFWFRSQV9ESVNUICs9IFwKIAl0ZXN0c3VpdGUvYW1wLWVzY2FwZS5nb29kIFwK IAl0ZXN0c3VpdGUvYW1wLWVzY2FwZS5pbnAgXAogCXRlc3RzdWl0ZS9hbXAtZXNjYXBlLnNlZCBc CisJdGVzdHN1aXRlL2FuY2hvci5nb29kIFwKKwl0ZXN0c3VpdGUvYW5jaG9yLmlucCBcCisJdGVz dHN1aXRlL2FuY2hvci5zZWQgXAogCXRlc3RzdWl0ZS9hcHBxdWl0Lmdvb2QgXAogCXRlc3RzdWl0 ZS9hcHBxdWl0LmlucCBcCiAJdGVzdHN1aXRlL2FwcHF1aXQuc2VkIFwKLS0gCjEuNy4xCgo= --------_581F3D47000000007869_MULTIPART_MIXED_--
X-Loop: help-debbugs@HIDDEN Subject: bug#24457: [PATCH] sed: use dfa matcher for regex with anchor Resent-From: Assaf Gordon <assafgordon@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Wed, 09 Nov 2016 15:35:01 +0000 Resent-Message-ID: <handler.24457.B24457.147870567113107 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24457 X-GNU-PR-Package: sed X-GNU-PR-Keywords: patch To: Norihiro Tanaka <noritnk@HIDDEN> Cc: 24457 <at> debbugs.gnu.org Received: via spool by 24457-submit <at> debbugs.gnu.org id=B24457.147870567113107 (code B ref 24457); Wed, 09 Nov 2016 15:35:01 +0000 Received: (at 24457) by debbugs.gnu.org; 9 Nov 2016 15:34:31 +0000 Received: from localhost ([127.0.0.1]:51075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c4UtS-0003PL-OS for submit <at> debbugs.gnu.org; Wed, 09 Nov 2016 10:34:30 -0500 Received: from mail-qk0-f180.google.com ([209.85.220.180]:34737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <assafgordon@HIDDEN>) id 1c4UtR-0003P6-Li for 24457 <at> debbugs.gnu.org; Wed, 09 Nov 2016 10:34:30 -0500 Received: by mail-qk0-f180.google.com with SMTP id q130so260160309qke.1 for <24457 <at> debbugs.gnu.org>; Wed, 09 Nov 2016 07:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JnxEu0ds7PChKpR8KZrR22QkkPe5yDu8XUX8kkqvoxY=; b=vOT40ovJcq6gRGA9xZEd6JaEZ+Es4qFJSZCEcsSwcg1B5ocDwnHvh3sMDIxao+3iri xWS29a5cXoNoLfrzss00yvgqf7ojl1Dp7sUASwT7xoW5y3Fhxx+u81YUTaCyKl68ZqPS P6xnbkOlzU1W8i2bWi0E5KYJ45qeC1Ffd7fG9wIBKr6EbniSbJzJBKsoakBPQAh4vnuk 79/xdPIgvsMUZSPUikI4YZOnGSY4F9lGUmswvN2XwKRW5k9+uzb7j+g0VAlJyje3t8uy 6/BwjM3QNWiY72YuYyZoHsoGZZMHNPYMtmLla32gCiRpDSbFQsQYXaHfqhTt18EjIWE5 PFMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JnxEu0ds7PChKpR8KZrR22QkkPe5yDu8XUX8kkqvoxY=; b=H3g/gcrd0+8Mq6X5bk3+jJiB83nOcQ4gBpnSsL9pAjeUOoCa6PBjm7+2VmE+fbOBYv mRQ/KiJ/reV1aPeqs7/r14O1TuTg9HqpUAR2qlv0gy6sTklNGQ28OoBPIOFyh7OW53Iv /lBHYPo5WrjnHcZHJQanK1Hak/jX/IwBVvPqb1JImAVHd1Nb4sBVui5oJz+8+r+xdVQN sPwL+yrOZo11jT2vKN7e0XjVoI1wxF5fcSiVRVgFjvXMlqWNh3we2VKEgVA8UdBP/n2j H+e0egwsR++WiXUvOkRscUwujxLYvave1F3TCyDCnN7w00RCnNjSfvI3RgF5tuDdCeUH /Ehg== X-Gm-Message-State: ABUngvfjCJ3oRY5dVCP7pCeQQFnjXxhqEeX3dc2WsSG6UhOv6xvEKrGSI5j78yP/oynRZw== X-Received: by 10.55.48.72 with SMTP id w69mr225327qkw.320.1478705663944; Wed, 09 Nov 2016 07:34:23 -0800 (PST) Received: from [10.0.12.110] (ool-addc4864.static.optonline.net. [173.220.72.100]) by smtp.gmail.com with ESMTPSA id n68sm96293qte.1.2016.11.09.07.34.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Nov 2016 07:34:23 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) From: Assaf Gordon <assafgordon@HIDDEN> In-Reply-To: <20161106232603.786E.27F6AC2D@HIDDEN> Date: Wed, 9 Nov 2016 10:34:22 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <8362567F-C6FD-4069-B5DF-8D0ADED41EAF@HIDDEN> References: <20160918180038.704D.27F6AC2D@HIDDEN> <20161106232603.786E.27F6AC2D@HIDDEN> X-Mailer: Apple Mail (2.2102) X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.2 (/) Hello, > On Nov 6, 2016, at 09:26, Norihiro Tanaka <noritnk@HIDDEN> wrote: >=20 > I rebased the patch. >=20 > Norihiro > <0001-sed-use-dfa-matcher-for-regex-with-anchor.patch> Thanks for the continued improvements! Could it be that the test files are missing from this patch = (testsuite/anchor.{sed,good,inp}) ? -assaf=
X-Loop: help-debbugs@HIDDEN Subject: bug#24457: [PATCH] sed: use dfa matcher for regex with anchor Resent-From: Norihiro Tanaka <noritnk@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Thu, 10 Nov 2016 13:31:02 +0000 Resent-Message-ID: <handler.24457.B24457.147878463017117 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24457 X-GNU-PR-Package: sed X-GNU-PR-Keywords: patch To: Assaf Gordon <assafgordon@HIDDEN> Cc: 24457 <at> debbugs.gnu.org Received: via spool by 24457-submit <at> debbugs.gnu.org id=B24457.147878463017117 (code B ref 24457); Thu, 10 Nov 2016 13:31:02 +0000 Received: (at 24457) by debbugs.gnu.org; 10 Nov 2016 13:30:30 +0000 Received: from localhost ([127.0.0.1]:51782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c4pQz-0004S1-OI for submit <at> debbugs.gnu.org; Thu, 10 Nov 2016 08:30:30 -0500 Received: from mailgw01.kcn.ne.jp ([61.86.7.208]:40394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <noritnk@HIDDEN>) id 1c4pQv-0004Rk-EA for 24457 <at> debbugs.gnu.org; Thu, 10 Nov 2016 08:30:29 -0500 Received: from mxs02-s (mailgw2.kcn.ne.jp [61.86.15.234]) by mailgw01.kcn.ne.jp (Postfix) with ESMTP id 3729E4A088C for <24457 <at> debbugs.gnu.org>; Thu, 10 Nov 2016 22:30:13 +0900 (JST) X-matriXscan-loop-detect: 8417ddad890c566b10cfc8791b51882aec76caec Received: from mail05.kcn.ne.jp ([61.86.6.184]) by mxs02-s with ESMTP; Thu, 10 Nov 2016 22:30:12 +0900 (JST) Received: from [10.120.1.64] (i118-21-128-66.s30.a048.ap.plala.or.jp [118.21.128.66]) by mail05.kcn.ne.jp (Postfix) with ESMTPA id C663D7D0098; Thu, 10 Nov 2016 22:30:11 +0900 (JST) Date: Thu, 10 Nov 2016 22:30:12 +0900 From: Norihiro Tanaka <noritnk@HIDDEN> In-Reply-To: <8362567F-C6FD-4069-B5DF-8D0ADED41EAF@HIDDEN> References: <20161106232603.786E.27F6AC2D@HIDDEN> <8362567F-C6FD-4069-B5DF-8D0ADED41EAF@HIDDEN> Message-Id: <20161110223010.73D1.27F6AC2D@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------_5824760D0000000073C8_MULTIPART_MIXED_" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.65.07 [ja] X-matriXscan-Sophos-AV: Clean X-matriXscan-Action: Approve X-matriXscan: Uncategorized X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.9 (--) --------_5824760D0000000073C8_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit On Wed, 9 Nov 2016 10:34:22 -0500 Assaf Gordon <assafgordon@HIDDEN> wrote: > Hello, > > > On Nov 6, 2016, at 09:26, Norihiro Tanaka <noritnk@HIDDEN> wrote: > > > > I rebased the patch. > > > > Norihiro > > <0001-sed-use-dfa-matcher-for-regex-with-anchor.patch> > > Thanks for the continued improvements! > > Could it be that the test files are missing from this patch (testsuite/anchor.{sed,good,inp}) ? > > -assaf > Hi Assaf, Thanks for reviewing. I leaved them, and now added them. Norihiro --------_5824760D0000000073C8_MULTIPART_MIXED_ Content-Type: text/plain; charset="US-ASCII"; name="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Disposition: attachment; filename="0001-sed-use-dfa-matcher-for-regex-with-anchor.patch" Content-Transfer-Encoding: base64 RnJvbSA4MDBiZmFhYjQxMjI2NWI2NDljOGYyMWI3MTg3YjAxYjUzOWM0NTE0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb3JpaGlybyBUYW5ha2EgPG5vcml0bmtAa2NuLm5lLmpwPgpE YXRlOiBTdW4sIDYgTm92IDIwMTYgMTA6MjU6NDEgKzA5MDAKU3ViamVjdDogW1BBVENIXSBzZWQ6 IHVzZSBkZmEgbWF0Y2hlciBmb3IgcmVnZXggd2l0aCBhbmNob3IKCiogc2VkL3JlZ2V4LmMgKGNv bXBpbGVfcmVnZXhfMSwgbWF0Y2hfcmVnZXgpOiBVc2UgZGZhIG1hdGNoZXIgZm9yIHJlZ2V4C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