first version of PatternFormatter.It now can match placeholders and replace them with property value.