useful

probably worth having a convenience method in brooklyn.util.text.StringEscapes.

could move it to that package (don't feel strongly)