[cmake-developers] slow regex implementation in RegularExpression

Brad King brad.king at kitware.com
Wed Nov 23 12:51:30 EST 2011


On 11/23/2011 12:48 PM, Brad King wrote:
> On 11/23/2011 12:43 PM, Brad King wrote:
>> On 11/23/2011 12:34 PM, Alexandru Ciobanu wrote:
>>> The regex in question is:
>>>     ^[^][:/*?]+\$
> 
>  "To include a literal ] in the list, make it either the first item"

It must be the "[:" in this regex that TRE sees as special since it
allows expressions like "[:digit:]" inside a bracket expression.

Still, this is a case that my proposed policy would pick up.

-Brad



More information about the cmake-developers mailing list