Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
gmxregex.h File Reference
#include <string>
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for gmxregex.h:

Description

Declares simple wrapper for regular expression functionality.

This is needed while we still support gcc 4.8, which did not include std::regex_match in its C++11 support.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::Regex
 Represents a regular expression. More...
 

Functions

bool gmx::regexMatch (const char *str, const Regex &regex)
 Matches a string with a regular expression. More...
 
bool gmx::regexMatch (const std::string &str, const Regex &regex)
 Matches a string with a regular expression. More...