pattern as str for disable anchor and ruby object on yaml