Helpers
- Implemented isTokenEnd, as a special case of isWordEnd, but considers consecutive punctuation to be a set of individual tokens.
This commit is contained in:
@@ -61,6 +61,7 @@ bool noSpaces (const std::string&);
|
||||
bool noVerticalSpace (const std::string&);
|
||||
bool isWordStart (const std::string&, std::string::size_type);
|
||||
bool isWordEnd (const std::string&, std::string::size_type);
|
||||
bool isTokenEnd (const std::string&, std::string::size_type);
|
||||
bool isPunctuation (char);
|
||||
bool compare (const std::string&, const std::string&, bool sensitive = true);
|
||||
bool closeEnough (const std::string&, const std::string&);
|
||||
|
||||
Reference in New Issue
Block a user