From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 944597ff for ; Sun, 22 Jul 2018 14:32:36 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id E947C9EE29; Mon, 23 Jul 2018 00:32:34 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id B2A949E875; Mon, 23 Jul 2018 00:32:02 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id B47EF9E875; Mon, 23 Jul 2018 00:31:59 +1000 (AEST) X-Greylist: delayed 901 seconds by postgrey-1.35 at minnie.tuhs.org; Mon, 23 Jul 2018 00:31:58 AEST Received: from mxout5.netvision.net.il (mxout5.netvision.net.il [194.90.6.65]) by minnie.tuhs.org (Postfix) with ESMTP id E25BB9E3A6 for ; Mon, 23 Jul 2018 00:31:58 +1000 (AEST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from skeeve.com ([89.138.149.161]) by mxout5.netvision.net.il (Oracle Communications Messaging Server 8.0.2.1.20180104 64bit (built Jan 4 2018)) with ESMTPSA id <0PC900K3HUC83IA0@mxout5.netvision.net.il> for tuhs@tuhs.org; Sun, 22 Jul 2018 17:16:56 +0300 (IDT) Received: from skeeve.com (skeeve.com [127.0.0.1]) by skeeve.com (8.15.2/8.15.2/Debian-3) with ESMTP id w6MEGttS021150 for ; Sun, 22 Jul 2018 17:16:56 +0300 Received: (from arnold@localhost) by skeeve.com (8.15.2/8.15.2/Submit) id w6MEGtDs021149 for tuhs@tuhs.org; Sun, 22 Jul 2018 17:16:55 +0300 From: Arnold Robbins Message-id: <201807221416.w6MEGtDs021149@skeeve.com> Date: Sun, 22 Jul 2018 17:16:55 +0300 To: tuhs@tuhs.org User-Agent: Heirloom mailx 12.5 6/20/10 Subject: [TUHS] Doug McIlroy's C++ regular expression library (mostly) revived X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Hi All. I have (mostly) revived Doug McIlroy's C++ regular expression parsing library. I gratefully acknowledge and thank him for allowing me to publish the code and for his help in finding all the bits and pieces. It's available at https://github.com/arnoldrobbins/mcilroy-regex . The main things I've done are to gather all the bits and pieces, rename files to have a .cpp extension, and get everything to compile using current g++ and standard make. I'm at the point where I could use some help. The various tests do not all run successfully. 1. make retest - a number of tests fail 2. ./tesgrep.sh - a number of tests fail 3. ./testsed.sh - tests fail with core dumps Looking briefly, some of the code in sed plays C games, casting various things arouond to pointers of different types and dereferencing them; these things tend to cause trouble in C++. I'm hopeful that more eyes on this code will help it come back to life more quickly. Any and all help will be appreciated. Thanks, Arnold P.S. Let's not start a flame war about C vs. C++ etc. etc. If you can help, please just dive in. Otherwise, just go, "wow, neat work" and move on to something else. :-) Thanks.