Enhancement - caseless string compare, find
- Switched the sense of the Boolean parameter to match a more natural name in the .taskrc file.
This commit is contained in:
@@ -54,8 +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);
|
||||
bool compare (const std::string&, const std::string&, bool sensitive = true);
|
||||
std::string::size_type find (const std::string&, const std::string&, bool sensitive = true);
|
||||
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user