regExpCxx::meta Struct Reference

Functor wrapper for testing meta-characters. More...

Public Member Functions

bool operator() (const char c) const noexcept
 Test if character is a regex meta-character. More...
 
bool operator() (const std::string &s, const char q='\\') const
 Test string for meta-characters. More...
 

Detailed Description

Functor wrapper for testing meta-characters.

Definition at line 146 of file regExpCxx.H.

Member Function Documentation

◆ operator()() [1/2]

bool operator() ( const char  c) const
inlinenoexcept

Test if character is a regex meta-character.

Definition at line 149 of file regExpCxx.H.

References regExpCxx::is_meta().

Here is the call graph for this function:

◆ operator()() [2/2]

bool operator() ( const std::string &  s,
const char  q = '\\' 
) const
inline

Test string for meta-characters.

Definition at line 155 of file regExpCxx.H.

References regExpCxx::is_meta(), and s().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: