diff --git a/doc/src/Packages_details.rst b/doc/src/Packages_details.rst index 815db12668..be3b17abac 100644 --- a/doc/src/Packages_details.rst +++ b/doc/src/Packages_details.rst @@ -367,7 +367,7 @@ KIM package **Contents:** -This package contains a command with a set of subcommands that serve as a +This package contains a command with a set of sub-commands that serve as a wrapper on the `Open Knowledgebase of Interatomic Models (OpenKIM) `_ repository of interatomic models (IMs) enabling compatible ones to be used in diff --git a/doc/utils/sphinx-config/false_positives.txt b/doc/utils/sphinx-config/false_positives.txt index 982e1fde2a..d1ffc2eaf3 100644 --- a/doc/utils/sphinx-config/false_positives.txt +++ b/doc/utils/sphinx-config/false_positives.txt @@ -2367,6 +2367,7 @@ parmin Parrinello Partay Particuology +Pascuet pastewka Pastewka pathangle diff --git a/src/utils.cpp b/src/utils.cpp index 5caac6e23f..b7f679a28a 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -110,7 +110,7 @@ bool utils::strmatch(const std::string &text, const std::string &pattern) /** This function is a companion function to utils::strmatch(). Arguments * and logic is the same, but instead of a boolean, it returns the - * substring that matches the regex pattern. There can be only one match. + * sub-string that matches the regex pattern. There can be only one match. * This can be used as a more flexible alternative to strstr(). */ std::string utils::strfind(const std::string &text, const std::string &pattern) diff --git a/src/utils.h b/src/utils.h index 8da7a40e25..70a4c08cd3 100644 --- a/src/utils.h +++ b/src/utils.h @@ -37,7 +37,7 @@ namespace LAMMPS_NS { bool strmatch(const std::string &text, const std::string &pattern); - /** Find substring that matches a simplified regex pattern + /** Find sub-string that matches a simplified regex pattern * * \param text the text to be matched against the pattern * \param pattern the search pattern, which may contain regexp markers