Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / utility / gmxregex.h
index f2b1557d85cf76d32ab698eb579da22bee0ec64d..9385163082cc0dbfe5c457bfe477827576e55d25 100644 (file)
@@ -1,10 +1,10 @@
 /*
  * 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
@@ -45,7 +45,7 @@
 
 #include <string>
 
-#include "common.h"
+#include "gromacs/utility/common.h"
 
 namespace gmx
 {
@@ -78,8 +78,12 @@ bool regexMatch(const std::string &str, const Regex &regex);
  * 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()