This commit is contained in:
Twan van Laarhoven
2020-05-14 23:48:06 +02:00
parent a13337c262
commit 1f3a2c2519
5 changed files with 32 additions and 88 deletions
-3
View File
@@ -140,9 +140,6 @@ String last_word(const String&);
/// Remove the last word from a string, leaves whitespace before that word
String strip_last_word(const String&);
/// Trim punctuation at the start/end of a word in the range [start..end)
void trim_punctuation(const String&, size_t& start, size_t& end);
bool is_word_start_punctuation(Char c);
bool is_word_end_punctuation(Char c);