Merge branch 'master' into refactor-reading

This commit is contained in:
Richard Berger
2020-08-10 12:25:16 -04:00
275 changed files with 11192 additions and 3858 deletions

View File

@ -82,7 +82,7 @@ using namespace LAMMPS_NS;
* even with char * type variables.
* Example: utils::strmatch(text, std::string("^") + charptr)
*/
bool utils::strmatch(std::string text, std::string pattern)
bool utils::strmatch(const std::string &text, const std::string &pattern)
{
const int pos = re_match(text.c_str(),pattern.c_str());
return (pos >= 0);