GCodeFindReplace: Removed boost::match_not_dot_newline | boost::match_not_dot_null

This commit is contained in:
Vojtech Bubnik 2022-01-25 09:40:24 +01:00
parent 8211721b9c
commit 6817120932

View file

@ -116,7 +116,7 @@ std::string GCodeFindReplace::process_layer(const std::string &ain)
temp.clear();
temp.reserve(in->size());
boost::regex_replace(ToStringIterator(temp), in->begin(), in->end(),
substitution.regexp_pattern, substitution.format, boost::match_default | boost::match_not_dot_newline | boost::match_not_dot_null | boost::format_all);
substitution.regexp_pattern, substitution.format, boost::match_default /* | boost::match_not_dot_newline | boost::match_not_dot_null */ | boost::format_all);
std::swap(out, temp);
} else {
if (in == &ain)