Regex queries currently treat the backslash like any other character when it should be treated as the escape character.
The parser method needs to be updated to handle backslashes correctly. Should a query end with a backslash, then this backslash is to be taken literally.