/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012, by the GROMACS development team, led by
- * David van der Spoel, Berk Hess, Erik Lindahl, and including many
- * others, as listed in the AUTHORS file in the top-level source
- * directory and at http://www.gromacs.org.
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
+ * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+ * and including many others, as listed in the AUTHORS file in the
+ * top-level source directory and at http://www.gromacs.org.
*
* GROMACS is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
#include <string>
-#include "common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
* regexMatch() is used to match the regular expression against a string.
* POSIX extended regular expression syntax is used.
*
- * Currently, isSupported() will return false if POSIX regular expression
- * header is not available (i.e., on Windows). In this case, calling other
+ * Currently, isSupported() will return true if either
+ *
+ * -# POSIX regular expression header <regex.h> is available, or
+ * -# C++11 header \<regex> is available (e.g., new enough MSVC has this).
+ *
+ * In other cases, isSupported() returns false and calling other
* constructors than the default constructor throws an exception.
*
* \see regexMatch()