Remove length from regex syntactic sugar.