auto %s pattern