Re: [PHP-DEV] pcre extended character class support

2025-07-28 Thread Ayesh Karunaratne
> > The reason this is opt-in in pcre2lib, is because the interpretation of > existing regexes may change. > This standard is being adopted in other languages too, also opt-in, for > example in JavaScript [1]. > To expose this functionality in PHP, we also have to make it opt-in via a > modifier

Re: [PHP-DEV] pcre extended character class support

2025-07-28 Thread David CARLIER
+1000 for me. Cheers. On Fri, 25 Jul 2025 at 23:20, Niels Dossche wrote: > Hi internals > > On PHP 8.5-dev, we ship with pcre2lib 10.45. > > This includes a new opt-in feature called "PCRE2_ALT_EXTENDED_CLASS". > It enables the use of complex character set operations in accordance to > UTS#18 (

Re: [PHP-DEV] pcre extended character class support

2025-07-28 Thread Gina P. Banyard
On Friday, 25 July 2025 at 23:20, Niels Dossche wrote: > Hi internals > > On PHP 8.5-dev, we ship with pcre2lib 10.45. > > This includes a new opt-in feature called "PCRE2_ALT_EXTENDED_CLASS". > It enables the use of complex character set operations in accordance to > UTS#18 (Unicode Technical

Re: [PHP-DEV] pcre extended character class support

2025-07-25 Thread Derick Rethans
On 25 July 2025 23:17:43 BST, Niels Dossche wrote: >Hi internals > >On PHP 8.5-dev, we ship with pcre2lib 10.45. > >This includes a new opt-in feature called "PCRE2_ALT_EXTENDED_CLASS". >It enables the use of complex character set operations in accordance to UTS#18 >(Unicode Technical Standard 18

[PHP-DEV] pcre extended character class support

2025-07-25 Thread Niels Dossche
Hi internals On PHP 8.5-dev, we ship with pcre2lib 10.45. This includes a new opt-in feature called "PCRE2_ALT_EXTENDED_CLASS". It enables the use of complex character set operations in accordance to UTS#18 (Unicode Technical Standard 18). This means it becomes possible to nest character sets, p