Loading...
Searching...
No Matches
regExpCxx::meta Struct Reference

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

#include <regExpCxx.H>

Public Member Functions

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

Detailed Description

Functor wrapper for testing meta-characters.

Definition at line 165 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 170 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 178 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: