class Regex

Defined at line 21 of file ../../src/developer/debug/shared/regex.h

Simple class wrapper over RE2.

Currently it only looks for normal matches, but can be extended to support capturing and other

neat regex stuff.

Public Methods

bool Init (const std::string & regexp, CompareType )

Defined at line 11 of file ../../src/developer/debug/shared/regex.cc

bool Match (const std::string & )

Defined at line 27 of file ../../src/developer/debug/shared/regex.cc

bool valid ()

Defined at line 28 of file ../../src/developer/debug/shared/regex.h

Enumerations

enum CompareType
Name Value
kCaseSensitive 0
kCaseInsensitive 1

Defined at line 23 of file ../../src/developer/debug/shared/regex.h