unescape "~1" to tilde and "~0" to slash (order is important!)
| 9207 | |
| 9208 | /// unescape "~1" to tilde and "~0" to slash (order is important!) |
| 9209 | static void unescape(std::string& s) |
| 9210 | { |
| 9211 | replace_substring(s, "~1", "/"); |
| 9212 | replace_substring(s, "~0", "~"); |
| 9213 | } |
| 9214 | |
| 9215 | /*! |
| 9216 | @param[in] reference_string the reference string to the current value |
no test coverage detected