Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118297 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 21401 invoked from network); 22 Jul 2022 22:39:40 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jul 2022 22:39:40 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C3BD01804BE for ; Fri, 22 Jul 2022 17:36:49 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 22 Jul 2022 17:36:49 -0700 (PDT) Received: by mail-wr1-f51.google.com with SMTP id b26so8534990wrc.2 for ; Fri, 22 Jul 2022 17:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2FQmHE0apsqVSbsNxP8jbOwpS6MqLrFMj7KVU+G4WzE=; b=a17Rr9AUDdevD2FSuXqMXECJslc7vusA/977Nu4jQSr8Js/DtaTfFlAKdqQND3pGMr BmhTE9PZKx6QJDdMz50GFVuN8l2LBqxY59Szay5S1BdjlKJ1W4PRD9R14VsgrvWfeMYQ PH7uzqB5OGr+3s28w29U5bqFivnuxQFoQMdvpbCIvvBWLgeL9svapLLa8HpB8DOIo+gv +o/Gme6c+mDc950nwZZoh5Iy2FaTMtfQaNeeRfuhBJe4tw8HVHtg9GgmWajT00WZFdqK EBAHUqlFMWVN2qLIl+9TA+3NLOX9LDj8b87AISlkjlN9PC4e9djfdDr7QdrSBEygL4kS 86yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2FQmHE0apsqVSbsNxP8jbOwpS6MqLrFMj7KVU+G4WzE=; b=3Ts42/BRrMK5thh6/Q9CMbpOzjREYnY2wperssZDA71w25kicOQmL4XNClJspPFlkG DMr3MqtNzAUcu7RbPCxWEjaw8wLF37z7hrroxcP9UI76iln0Dtn7uBU4N6F+1uSAo1Xg x9OGtSjT72H6jk15P7MMOQgmYWQiAqpQyeA33ZuUzRSK2xyfTFcq60s40OoJa6ObVAJi i+o0GYXBBTLspsqpVTaQZGsfaKXR1uPcoVzO6iJLyllYHzuvp0ii7ilH0f6ULGllylxH mKXEQUUP58xE7b8m1YBCXqNqHgyVXjabvBTy+VswE3xnLg4BQGJX1J2KLXwqchpIeFyl Wi7g== X-Gm-Message-State: AJIora/W1D0yaEb6zQfRDLkVLPLW5MngJR/9ILffOKEGX/fdA8W7ahcc aSkWj5VbI+8G42+tc2FvqTkchbFhoqvKzjft55fLLNVp X-Google-Smtp-Source: AGRyM1s+Ier+ihHYptxQGPpRpFgwYuTKtrGzUpcbzkQTrKChUExIqYkQZ7vZ0P2o2Fd8CS9WVyqIWxTdOs7zpIm01kk= X-Received: by 2002:a05:6000:1a85:b0:21d:b94f:b380 with SMTP id f5-20020a0560001a8500b0021db94fb380mr1395712wry.676.1658536607713; Fri, 22 Jul 2022 17:36:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6000:1a85:0:0:0:0 with HTTP; Fri, 22 Jul 2022 17:36:47 -0700 (PDT) In-Reply-To: <4a473f00-e68f-54de-fc70-f6f94885464a@gmx.de> References: <4a473f00-e68f-54de-fc70-f6f94885464a@gmx.de> Date: Sat, 23 Jul 2022 10:36:47 +1000 Message-ID: To: internals Content-Type: multipart/alternative; boundary="000000000000598d2405e46e255d" Subject: Re: Character range syntax ".." for character masks From: mickmackusa@gmail.com (mickmackusa) --000000000000598d2405e46e255d Content-Type: text/plain; charset="UTF-8" > > > If I seek to have a round of voting for an RFC on character ranges in character mask parameters, should I propose it for PHP8.3 or a higher version? I have only identified 4 native string functions that make reasable candidates to join the 7 existing functions with this feature. I don't think there is any benefit in explaining how these functions work. The sole purpose for this change (and the reason that other functions have it already) is to reduce code bloat without needing any extra function calls. If the feature is good enough for the first 7 functions, then it should be good enough for these other 4 functions. Breaking change possibility: if code is silly enough to repeat ANY characters in the mask AND the repeated character is a dot between two other characters, then I don't have much sympathy. Honestly though, we are talking about a super unlikely occurrence. Some demos: https://3v4l.org/2Y0q4 Mick --000000000000598d2405e46e255d--