I assume because `\{` was not a valid escape sequence, which means any use of this character pair can be identified as a template without changing the semantics of existing string literals.
Then being walled in by backwards compatibility
Another absolute horror parser was the wikipedia wikitext parser. An ambiguous hand written mess of epic disgust.