rust-lang/rust — pull request #16001 by Gankro (2014-07-26 04:36:24+00:00)
Title: adding proof of context-sensitivy of raw string literals

Stumbled across this and thought it would be cool to prove. I've never used Ogden's Lemma before, but I'm pretty sure I used it right. The pumping lemma definitely doesn't seem sufficient for the job. In particular, when using the pumping lemma, you can always just pump one of the quotes, and it's fine. Ogden's Lemma lets you effectively force the pumper to use certain characters in the string.

@cmr