The within and without range functions have no protections against encountering characters that need to be escaped.