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:
Paul Beckingham 2010-01-27 09:33:26 -05:00
parent 3e5ea8cb6c
commit 2dfe144236
3 changed files with 27 additions and 27 deletions

View file

@ -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
////////////////////////////////////////////////////////////////////////////////