From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26771 invoked from network); 14 Nov 2022 18:58:48 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 14 Nov 2022 18:58:48 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1668452328; b=oIJMV9RdDxsKBKKeuTczJxilwYznIIEjJo0yGlMnIOMWWAk91aBwDBgNN4u4Zb2l52GtFG+eFp 1M1DTUPczVkbkQ7zlkPovkblLyOw9vZYsWHRd+98Nq2ILmYm5QPAbCSv5Gebrc4iIm3TBngYDk nlZm/ro39Uv3qvNbD9m6sqzDC7MZEw8d9zp51c+sl4Q+vc38jYvu/SewtHhqiXdlA1phDyUkBb TbdMzNnMxUNdSVrHAxSZEk3t8etqkwfBkIZg0bJEEoUJocSNMQAJynvHgTmU1RIxo23jaoP1kD 7HsReMot0JqyzV7isWCHo9v23rAxW+MFCMor1XJpRzt/kA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1668452328; bh=8q8CmAVqoQg6ti58UB8rpLSW3dt4eHlR3WtlpLtc3pU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=QXTmCpQxNUTUqoHHgg9sFFuNqWW8biK6d0w6WW+k1bxmOI9ajY1mwCVdTOYtsnaslpZrV8kbZs fSR/UFewQb9zQiNUhTesBKw32jwR/NRJbkLZFh0DPkCPck5yRXlEm3dMWXYW8tD9OOMAkoj1Do Gcl8iVlpeeRZjTZ9HT7w8Vh5K6lBqj9f9FRpJW1FeeMhjG1Q/FH5wQjeKgi2+krqFN162JCJh3 KqIrC7OEUmOtqefDqmuikBHgY+z2aYsOlz0e6/SS14VfN/e5weElLY1ttjBvpqZfzgSrGzQTvX OoZX73A8Amc62I5L+W067+afoxl8j7iKbb7bzMP3MDsTJQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=4dqhN3nzVDxtxg+rrIg7BqIw7I7aYz7IDx9RJjw34h8=; b=Jqto2160DuOenE3N02YEMH50A4 F6TUhSwx07gxEYKE/AOqW12u9TrTJEPGSvlHWSKNQQYWQniPwA2NU9bah1o0hygKDHHGXVc3XcS06 7op3tiui4YKlAmqNsMKy5lHZvJcruTnxMt6qTnCBzaNxUv0AdyHLboL+7f7FC9asfDDVIX34YVf9r IWdoGKojZR3kO/OjTJNUpxbIX8XxEb6EhOUjL6+eq1D2xA3lqhFbmdugN3p/0yxeIQCPiZOf/N93W R5MBXU7lRPvzPtfWdIhAeqgXt7WuMbMpcOo4PspYHgbmqfWk3KBZ4ZfA4eq6VTdp5GkSrNnfM8bzr JduBAp/A==; Received: by zero.zsh.org with local id 1ouefP-000Awo-FE; Mon, 14 Nov 2022 18:58:47 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:36108) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1oueek-000ADM-9U; Mon, 14 Nov 2022 18:58:06 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RLC00ARWPVJAVB1@mta04.eastlink.ca> for zsh-users@zsh.org; Mon, 14 Nov 2022 14:58:04 -0400 (AST) Received: from [192.168.0.3] ([24.207.18.108]) by Eastlink with ESMTPSA id ueehoExXHgfyjueehoeaLf; Mon, 14 Nov 2022 14:58:04 -0400 X-Authority-Analysis: v=2.4 cv=M9uLaQ8s c=1 sm=1 tr=0 ts=63728fbc a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=YCSqTWA4-R4nRrOFdBoA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedvgdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Mon, 14 Nov 2022 10:58:03 -0800 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: coloring substitution seems to eat next line. Content-language: en-US To: zsh-users@zsh.org References: <6d7ba212-be9d-6bb4-f5ce-9a796032ade0@eastlink.ca> <6a92000c-dee5-a1e3-a77f-6a4697a66ab1@eastlink.ca> <34a949c4-0853-4c65-d2ad-db40749dff81@eastlink.ca> <2dd50dc8-cdbc-02e0-0e1e-485718732d0d@eastlink.ca> <3a10f310-3ee8-d3b4-f6db-7fdb18b81b1f@eastlink.ca> <77692192-70b3-8a6a-fd01-d5f8b37f59b2@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28385 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On 2022-11-14 09:12, Roman Perepelitsa wrote: > > This is the same as what I posted. Things get overlooked in the confusion, I often have ten things to learn all at the same time.  I'll sometimes take some code on faith and forget that I've forgotten to really understand it.  Or that an explanation was there previously. >> now I just need to understand the '#%' anchors I think I might:  Because it's a negation, you have to force the match to include the entire element from beginning to end.  You're sorta forcing a greedy match.  " ^$foo " searched for in " xxxfoobarxxx " will match " xxxfo " but will not match the whole string -- which is to say that it matches and therefore is rejected by the caret forcing negation.  It's not a simple construction.  Oh, and I would never have figured it out by myself, too many things have to work together just right. > See my previous post. > > Roman. >