This works by turning every character in the heading to an equals (=).
It uses the regular expression dot (.) which matches every character.
The original string is not damaged.
More info
http://en.wikipedia.org/wiki/Markdown