From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by ewsd; Fri Jan 11 05:55:18 EST 2019 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7A93E2221C for <9front@9front.org>; Fri, 11 Jan 2019 05:55:16 -0500 (EST) Received: from web6 ([10.202.2.216]) by compute1.internal (MEProxy); Fri, 11 Jan 2019 05:55:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:references:in-reply-to:date; s=fm2; bh=5ym x+y68GIzN/bRORAoYrEKX9PwHQFLcyXfxMVjaJtc=; b=KcWOQ1VN+ZrkqS+Cec6 LShmM+GXV7qKBE/gyfpfamM/jYEg9bwTi9Z+nQfjn04IDjInu6aB3C5KIThUXL4r bwqdFtqM6sCH/IV61o5nie/ERNyUfahSJtWGZ9jqxBYLwfCngD0nXccELwOHLCwb yjKyKTeDipPHWSdj9nZhsNkCjFmMsYjrUh+G3/Ui8R9XAspnxRZgo3eAlQC3HUq8 1g5uluNmwyQzXMXLkNjTFkhYmEtjStQufNZZbqRzDtzH8v1GYEfbDtS3oC4HVzfs jTtC3VAYzKeK0PTfb+DLMGuLBJV4773uylVUeYDCdSY3437z7pzJyS21r47jcxpO uAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5ymx+y68GIzN/bRORAoYrEKX9PwHQFLcyXfxMVjaJ tc=; b=fGn98eB77mgL+iV1/mzX2Hwp4J+UFu3RG8jhXSJrJmZQlZplHh/XsumPM eCGRYBPDfAXGFUxCH1PUzV25CZMCN0vSil4OCb/3J6bcsk1GXRD3EA1fAZJV2jzP if5l/X+T1IZhWo2JM0bOaGBnA/wy/Yfklh6JHn16G07U3MvQaLEtw2+CBReZgWuu ph8OX20BS6G5+WjPsqTnmWBA2scYGRFqGjgjsC+8oCNzFdOB9aPYbnQZ5v/acx9U 2yfls55K6v92ZWvq7kOMmM0f5v7TxvcPzBkZx97DRH7pDHLn065kAbT3cgI2OyY2 lR9sd/Aitpe/Q2t+EryDUDfVXhz7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrfeehgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucenucfjughrpefkhffvggfgtgfoufhfjgffsehtjeertdertdejnecuhfhrohhmpe fgthhhrghnucfirghruggvnhgvrhcuoegvvghkvggvheejsehfrghsthhmrghilhdrfhhm qeenucfrrghrrghmpehmrghilhhfrhhomhepvggvkhgvvgehjeesfhgrshhtmhgrihhlrd hfmhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 99) id 2850E4147; Fri, 11 Jan 2019 05:55:16 -0500 (EST) Message-Id: <1547204116.2619408.1631744520.03A21CEC@webmail.messagingengine.com> From: Ethan Gardener To: 9front@9front.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-36e4bfd3 Subject: Re: [9front] bug in sed References: In-Reply-To: Date: Fri, 11 Jan 2019 10:55:16 +0000 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: optimized standard-aware cloud-oriented interface tried with same test text: 0, 3, 5, 0 initial spaces on consecutive lines. double-match found in 9front (updated yesterday), and p9p (master branch downloaded last week). also found in acme-sac 0.13 & 9pm because it's an easy test and i'm feeling energetic. double-match not found with gnu sed 4.4. while the test case itself is pointless, it could occur as part of a more complex regex where the g is reasonable. i haven't tested this, but i believe it could, for example, trip up the following expression changing all function names beginning with str; it would mess up strstr if strstr occurred at the beginning of a line. s/(^|[^a-z_A-Z]+)str//g