fix docstrings

* perform backslash substitution
* allow raw and interpolated strings