Rather than only looking for 'u', look for something ever so slightly more strict: "\\u".
This passes the existing tests and a very simple additional test which reproduces the issue from #41.
Minor caveat: I'm not an experienced hand at Rust. If I need to do more sophisticated work here, I am very willing to try my best but might not have the skills for it yet. :sweat_smile:
This resolves #41
Rather than only looking for
'u'
, look for something ever so slightly more strict:"\\u"
.This passes the existing tests and a very simple additional test which reproduces the issue from #41.
Minor caveat: I'm not an experienced hand at Rust. If I need to do more sophisticated work here, I am very willing to try my best but might not have the skills for it yet. :sweat_smile: