implement token enclosed in vertical bars