Tweet

Replying to @hukl and @josevalim

How about:

Regex.scan(Regex.compile!("^{\""), “{"field":4,"value":"True"}”)

I think I read somewhere that the regex sigil runs through Regex.escape() before being compiled. Maybe this messes with the escaping of backslashes. 🤷

(original)