did simple pattern match string problem