unescape "~1" to tilde and "~0" to slash (order is important!)
| 10943 | |
| 10944 | /// unescape "~1" to tilde and "~0" to slash (order is important!) |
| 10945 | static void unescape(std::string& s) |
| 10946 | { |
| 10947 | replace_substring(s, "~1", "/"); |
| 10948 | replace_substring(s, "~0", "~"); |
| 10949 | } |
| 10950 | |
| 10951 | /*! |
| 10952 | @param[in] reference_string the reference string to the current value |
no test coverage detected