class final
ReWrapper for std::
Public static functions
- static auto findall(const String& regex, const String& input, Flags = DEFAULT) → StringS
- Find
regex
ininput
and return non-overlapping matches. - static auto grep(const String& regex, const String& input, int group = 0, Flags = DEFAULT) → String
- Find
regex
ininput
and return matching string. - static auto search(const String& regex, const String& input, Flags = DEFAULT) → ssize_t
- Find
regex
ininput
and return match position >= 0 or return < 0 otherwise. - static auto sub(const String& regex, const String& sbref, const String& input, Flags = DEFAULT) → String
- Substitute
regex
ininput
bysbref
with backreferences$00…$99
or$&
. - static auto subn(const String& regex, const String& subst, const String& input, uint count = 0, Flags = DEFAULT) → String
- Substitute
regex
ininput
withsubst
up tocount
times.