From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BCDA51F4B4 for ; Tue, 15 Dec 2020 14:21:38 +0000 (UTC) Received: by mail-qt1-x82f.google.com with SMTP id z3so14574675qtw.9 for ; Tue, 15 Dec 2020 06:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=rxAzWGtQRpKaB4eF7AQ5S0aiILhIZIaotb3naEVSezs=; b=Ib9NHDZHGZ3Q1/dqhoKf0N2G0F3aG4zuSrsK281JQtWOUYpKT05NIJpcLnYkq+yzvS E13LjD5Q8kIFNdpDFopWpryMCJJ10W3a3m20E9AfwHso6cXGjdJUKqVIOg2hjOlrKXQH 5+Vj8cuj3qYjAE6nM2LlXGG3mERWhU56W9eHg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=rxAzWGtQRpKaB4eF7AQ5S0aiILhIZIaotb3naEVSezs=; b=rP5EDHSmHM9zIDONt1plCU8HeuhD8LrtLm+0LuH0jCh8ZMJ4ts40XcrrVlys8E9QnM IiylP2M/bowq4nHq2p7E6MBsMIcuq8FsttiYao1EtgLPlKbGFvKVnEwaFOClFAct847b OOg97SQfpaHzYLz0EoNf1pZ00IbapHlwJVrg9xkLXXldApodPG92V6S0Tt/XTIl4HbrF hKA9V170uMvFpe/xtd59qnnRjjwuNY7LCVFw+YWH0+LN6t+a0tBdEAj1AXxUdg4VeOwG VNdfT+icSpR0qNczPUOJRpO9GADdjwn2Qj5p0uTJB6d1LLs31PpSszUfaeKlCiYCI5tc OCYg== X-Gm-Message-State: AOAM5311bPaC+goacIs7aUem2rW/QEJQeb+i/u4frgunkeB+KVNjCWR2 IBi6PUD1uiABPwXh50tXOWS2og== X-Google-Smtp-Source: ABdhPJx6tPJ15X2yd2BV/kjYRPP5Uljjf4r65zniw+tJSp3QWXb++r4fcw9lG6M2F1d5mNpjB5UAjA== X-Received: by 2002:ac8:2a8f:: with SMTP id b15mr28328123qta.33.1608042097511; Tue, 15 Dec 2020 06:21:37 -0800 (PST) Received: from chatter.i7.local ([89.36.78.230]) by smtp.gmail.com with ESMTPSA id i68sm14123965qkc.82.2020.12.15.06.21.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 06:21:36 -0800 (PST) Date: Tue, 15 Dec 2020 09:21:34 -0500 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: are Perl regexps well-known enough for command-line use? Message-ID: <20201215142134.gm6fk75gl5wmx6t7@chatter.i7.local> Mail-Followup-To: Eric Wong , meta@public-inbox.org References: <20201214203938.GA31896@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201214203938.GA31896@dcvr> List-Id: On Mon, Dec 14, 2020 at 08:39:38PM +0000, Eric Wong wrote: > I've been thinking a bit about UI/UX for local command-line > tooling, and one thing I've been pondering is exposing Perl5 > regexps as a mechanism for filtering > mailboxes/newsgroups/URLs/pathnames, etc... I think it's best to stick to the same regexp flavour as used by git for things like "git log -S", since people most likely to use this functionality are the same people likely to use git. I believe it's POSIX, not PCRE -- but I don't know how reasonable it is to support POSIX regexps in Perl. -K