Skip to content

Commit

Permalink
Apparently capture avoidance isn't in regex_match (it is in RE2).
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 27, 2023
1 parent 0903f74 commit 857128a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/substrait/common/Io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace io::substrait {

namespace {

// TODO - Avoid capturing.
const std::regex kIsJson(R"(("extensionUris"|"extensions"|"relations"))");
const std::regex kIsProtoText(
R"((^|\n)((relations|extensions|extension_uris|expected_type_urls) \{))");
Expand Down

0 comments on commit 857128a

Please sign in to comment.