'type' same size in regexp than in attribute