@brief Split the string into three parts, before the match, the match itself, and after it. */
| 2210 | |
| 2211 | /** @brief Split the string into three parts, before the match, the match itself, and after it. */ |
| 2212 | partition_type partition(string_view pattern) const noexcept { return partition_(pattern, pattern.length()); } |
| 2213 | |
| 2214 | /** @brief Split the string into three parts, before the match, the match itself, and after it. */ |
| 2215 | partition_type partition(value_type pattern) const noexcept { return partition_(string_view(&pattern, 1), 1); } |