summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-04-28 09:29:57 +1000
committerMaxime Coste <mawww@kakoune.org>2018-04-28 09:29:57 +1000
commita1b8864c777464ed3be0ca14a8f6df3ee7b40803 (patch)
tree41cba246a2c4cb4cf38920c40a81e9e622f6dcac /src
parent2b9ec411d31299f0edcb570ed7554c94532145fe (diff)
parent9bac04d35fe7d3f7011edad4baac407e897bdeb2 (diff)
Merge remote-tracking branch 'lenormf/regex-format-string' into HEAD
Diffstat (limited to 'src')
-rw-r--r--src/regex_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex_impl.cc b/src/regex_impl.cc
index f6d4dab0..38a2dfc6 100644
--- a/src/regex_impl.cc
+++ b/src/regex_impl.cc
@@ -1138,7 +1138,7 @@ struct TestVM : CompiledRegex, ThreadedRegexVM<const char*, dir>
: CompiledRegex{compile_regex(re, dir == MatchDirection::Forward ?
RegexCompileFlags::None : RegexCompileFlags::Backward)},
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)
{