Thea
Public Types | List of all members
Match Struct Reference

Pattern matching flags (enum class). More...

#include <StringAlg.hpp>

Public Types

Detailed Description

Pattern matching flags (enum class).

Correspond to flags for POSIX fnmatch.

Definition at line 140 of file StringAlg.hpp.

Member Enumeration Documentation

enum Value

Supported values.

Enumerator
NOESCAPE 

Treat backslash as an ordinary character, instead of an escape character.

PATHNAME 

Match a slash in the query only with a slash in the pattern and not by an asterisk (*) or a question mark (?) metacharacter, nor by a bracket expression ([]) containing a slash.

PERIOD 

A leading period in the query has to be matched exactly by a period in the pattern.

A period is considered to be leading if it is the first character in query, or if both FNM_PATHNAME is set and the period immediately follows a slash.

LEADING_DIR 

If this flag (a GNU extension) is set, the pattern is considered to be matched if it matches an initial segment of the query which is followed by a slash.

This flag is mainly for the internal use of glibc and is only implemented in certain cases.

CASEFOLD 

If this flag (a GNU extension) is set, the pattern is matched case-insensitively.

Definition at line 143 of file StringAlg.hpp.


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