mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - Caseless string compare, find
- Merged compare and find functions in from metatask. - Merged unit tests in from metatask.
This commit is contained in:
parent
56edf73d93
commit
3e5ea8cb6c
3 changed files with 111 additions and 2 deletions
|
@ -54,6 +54,8 @@ 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 compare (const std::string&, const std::string&, bool caseless = false);
|
||||
std::string::size_type find (const std::string&, const std::string&, bool caseless = false);
|
||||
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue