Simplify ntriples unescape

While trying to understand the unescape function of the ntriples reader, I found a few potential simplifications. Would it be possible to take a look at this to see if I am missing something?