lib_std_regex.h File Reference

Classes

class  RegexMatch
 
class  RegexInterface
 

Namespaces

 maxon
 
 maxon::regex
 

Enumerations

enum class  REGEX_MATCH_FLAGS {
  DEFAULT ,
  NOT_BOL ,
  NOT_EO ,
  NOT_BOW ,
  NOT_EOW ,
  ANY ,
  NOT_NULL ,
  CONTINUOUS ,
  PREV_AVAIL ,
  FORMAT_DEFAULT ,
  FORMAT_SED ,
  FORMAT_NO_COPY ,
  FORMAT_FIRST_ONLY ,
  MATCH_ALL
}
 
enum class  REGEX_SYNTAX_FLAGS {
  ICASE ,
  NOSUBS ,
  OPTIMIZE ,
  COLLATE ,
  ECMAScript ,
  BASIC ,
  EXTENDED ,
  AWK ,
  GREP ,
  EGREP
}
 

Functions

enum maxon::regex::REGEX_MATCH_FLAGS MAXON_ENUM_FLAGS (REGEX_MATCH_FLAGS)
 
enum maxon::regex::REGEX_SYNTAX_FLAGS MAXON_ENUM_FLAGS (REGEX_SYNTAX_FLAGS)
 

Variables

 DEFAULT
 
 NOT_BOL
 
 NOT_EO
 
 NOT_BOW
 
 NOT_EOW
 
 ANY
 
 NOT_NULL
 
 CONTINUOUS
 
 PREV_AVAIL
 
 FORMAT_DEFAULT
 
 FORMAT_SED
 
 FORMAT_NO_COPY
 
 FORMAT_FIRST_ONLY
 
 MATCH_ALL
 
 ICASE
 
 NOSUBS
 
 OPTIMIZE
 
 COLLATE
 
 ECMAScript
 
 BASIC
 
 EXTENDED
 
 AWK
 
 GREP
 
 EGREP
 
class maxon::regex::RegexMatch MAXON_ENUM_FLAGS
 

Variable Documentation

◆ DEFAULT

DEFAULT

Marks the match as having no special flags.

◆ NOT_BOL

NOT_BOL

Marks the match as not constrained to the beginning of a line.

◆ NOT_EO

NOT_EO

Marks the match as not constrained to the end of a line.

◆ NOT_BOW

NOT_BOW

Marks the match as not constrained to the beginning of a word.

◆ NOT_EOW

NOT_EOW

Marks the match as not constrained to the end of a word.

◆ ANY

ANY

Allows matching any character, including newlines.

◆ NOT_NULL

NOT_NULL

Prevents matching empty sequences.

◆ CONTINUOUS

CONTINUOUS

Requires the match to be contiguous with the previous match.

◆ PREV_AVAIL

PREV_AVAIL

Indicates that the previous character is available for matching.

◆ FORMAT_DEFAULT

FORMAT_DEFAULT

Specifies the default formatting behavior.

◆ FORMAT_SED

FORMAT_SED

Enables sed-style formatting.

◆ FORMAT_NO_COPY

FORMAT_NO_COPY

Prevents copying unmatched portions of the input.

◆ FORMAT_FIRST_ONLY

FORMAT_FIRST_ONLY

Only formats the first match in the input.

◆ MATCH_ALL

MATCH_ALL

Matches all occurrences of the pattern in the input and not just the first one (only relevant for RegexInterface::Search()).

◆ ICASE

ICASE

Enables case-insensitive matching.

◆ NOSUBS

NOSUBS

Prevents substitutions in the match.

◆ OPTIMIZE

OPTIMIZE

Optimizes the regex for performance.

◆ COLLATE

COLLATE

Enables collation for matching.

◆ ECMAScript

ECMAScript

Enables ECMAScript syntax.

◆ BASIC

BASIC

Enables basic regex syntax.

◆ EXTENDED

EXTENDED

Enables extended regex syntax.

◆ AWK

AWK

Enables AWK syntax.

◆ GREP

GREP

Enables GREP syntax.

◆ EGREP

EGREP

Enables E-GREP syntax.