[Development] Regular expression libraries for QRegExp

Oswald Buddenhagen oswald.buddenhagen at nokia.com
Thu Nov 24 23:49:02 CET 2011


On Wed, Nov 23, 2011 at 03:35:57PM +0100, ext Thiago Macieira wrote:
> At first thought, I'd say that the pattern class should be a regular, 
> implicitly-shared, atomic copy-on-write value class. If you call a non-const 
> method, it detaches.
> 
> There should be no const methods that modify internal caches. Period. If you 
> compile the pattern, it's a non-const method and it detaches.
>
that makes lazy compilation really tough to implement ...



More information about the Development mailing list