STYLE: Correcting typos

This commit is contained in:
Andrew Heather
2018-03-28 17:14:16 +01:00
parent 3a569c9fd5
commit a230e8d408
486 changed files with 740 additions and 758 deletions

View File

@ -183,7 +183,7 @@ public:
// Member Functions
//- Count the number of occurences of the specified character
//- Count the number of occurrences of the specified character
//- in the string
// Partially deprecated (NOV-2017) in favour of stringOps::count
size_type count(const char c) const;
@ -220,7 +220,7 @@ public:
//- Avoid masking the normal std::string replace
using std::string::replace;
//- Replace first occurence of sub-string oldStr with newStr,
//- Replace first occurrence of sub-string oldStr with newStr,
//- beginning at start
string& replace
(
@ -229,7 +229,7 @@ public:
const size_type start = 0
);
//- Replace all occurences of sub-string oldStr with newStr,
//- Replace all occurrences of sub-string oldStr with newStr,
//- beginning at start. This is a no-op if oldStr is empty.
string& replaceAll
(
@ -238,7 +238,7 @@ public:
const size_type start = 0
);
//- Expand initial tildes and all occurences of environment variables
//- Expand initial tildes and all occurrences of environment variables
// Expansion includes:
// -# environment variables
// - "$VAR", "${VAR}"