Merge remote-tracking branch 'lenormf/regex-format-string' into HEAD
This commit is contained in:
commit
a1b8864c77
|
@ -1138,7 +1138,7 @@ struct TestVM : CompiledRegex, ThreadedRegexVM<const char*, dir>
|
||||||
: CompiledRegex{compile_regex(re, dir == MatchDirection::Forward ?
|
: CompiledRegex{compile_regex(re, dir == MatchDirection::Forward ?
|
||||||
RegexCompileFlags::None : RegexCompileFlags::Backward)},
|
RegexCompileFlags::None : RegexCompileFlags::Backward)},
|
||||||
VMType{(const CompiledRegex&)*this}
|
VMType{(const CompiledRegex&)*this}
|
||||||
{ if (dump) printf(dump_regex(*this).c_str()); }
|
{ if (dump) puts(dump_regex(*this).c_str()); }
|
||||||
|
|
||||||
bool exec(StringView re, RegexExecFlags flags = RegexExecFlags::AnyMatch)
|
bool exec(StringView re, RegexExecFlags flags = RegexExecFlags::AnyMatch)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user