unescape "~1" to tilde and "~0" to slash (order is important!)
| 12368 | |
| 12369 | /// unescape "~1" to tilde and "~0" to slash (order is important!) |
| 12370 | static void unescape(std::string& s) |
| 12371 | { |
| 12372 | replace_substring(s, "~1", "/"); |
| 12373 | replace_substring(s, "~0", "~"); |
| 12374 | } |
| 12375 | |
| 12376 | /*! |
| 12377 | @param[in] reference_string the reference string to the current value |
no test coverage detected