&gt; Why are you using regexes to search through raw JSON?<p>&gt;&gt; (because this is an example to show why sharing escape characters between languages is idiotic)<p>I turned one backslash into eight backslashes with a contrived example. While it&#x27;s not common to go through so many layers, this problem is very real, and, in the article, is directly responsible for a bug.<p>&gt; using a different escape character for each different grammar [...] becomes exceedingly confusing as anyone who works with more than one of these grammars now has to remember which one uses which escape character<p>Are you really arguing that we could make C <i>less</i> confusing by switching printf(&quot;%d&quot;, x) to printf(&quot;\\d&quot;, x)? I&#x27;d say that C strings and C format directives use different escape characters <i>specifically because</i> they&#x27;re likely to be used together. But regexes are intended to be used with strings, too.