Fix bug SimpleDotNetFormat

Gave incorrect results if a pattern similar to a place holder is used