How do you query for a field with a carriage return in it?

Here you can see I have 2 records, one has the value "abc\ndef" and the other has "abc\rdef". I can query the first one with {Value}="abc\ndef", but I cannot figure out how to query the second one. The obvious thing of "{Value}="abc\rdef" does not work, nor does any other thing I’ve tried.

Have you tried URL-encoding the query string?