Re: Pre-RFC: adding a Regex\CompiledRegex class for compiling regular expressions
| From: | Jordi Kroon | Date: | Fri, 25 Sep 2026 16:56:18 +0000 |
| Subject: | Re: Pre-RFC: adding a Regex\CompiledRegex class for compiling regular expressions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132641@lists.php.net to get a copy of this message | ||
On 25/09/2026 6:29 pm, Casper Langemeijer wrote:
On Wed, Sep 23, 2026, at 21:01, Gina P. Banyard wrote:
Please consider something like: Regexp\Expression Regexp\Pattern+1 for this class naming. PHP has is primarly using the shorthand "Regex" in the documentation, not Regexp (minor nitpicking). Additionally I believe we should add PCRE(2?) to the namespace. - Regex\Pcre\... -- Regards, Jordi Kroon