From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from yow.a-b.xyz ([45.32.152.219]) by ewsd; Wed Oct 30 18:16:11 EDT 2019 Received: by yow.a-b.xyz (OpenSMTPD) with ESMTPSA id a72cc258 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Wed, 30 Oct 2019 23:16:03 +0100 (CET) Message-ID: <279D29B18A7F8746F3E700AECD8E0BBC@a-b.xyz> Date: Wed, 30 Oct 2019 23:16:02 +0100 From: kvik@a-b.xyz To: 9front@9front.org Subject: Re: [9front] Re: [Patch] Re: fmt Re: with Re: line Re: prefixes. In-Reply-To: 2E7A6A1C7EC2C64348910B4B518151DE@eigenstate.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: service rails table module I think this is a great feature. > (regex prefixes?) Regex prefixes would be a dream for source code comments where you have a variable amount of prefix whitespace, esp. for more complex forms like the classic C style: /* * I'm a comment. * AMA. */ fmt -p '[ ]* ?(/\*|\*|\*/) ?' -- kvik