From 40ee1fcfb77731f3cd7385882f41630af6aedb33 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 7 Oct 2023 23:30:49 +0200 Subject: reduce line limit to 95 --- src/include/convert.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/include/convert.h') diff --git a/src/include/convert.h b/src/include/convert.h index 2342a70..cfd4747 100644 --- a/src/include/convert.h +++ b/src/include/convert.h @@ -179,7 +179,9 @@ namespace Binc { if (token != "") dest.push_back(token); } - inline void splitAddr(const std::string &s_in, std::vector &dest, bool skipempty = true) + inline void splitAddr(const std::string &s_in, + std::vector &dest, + bool skipempty = true) { static const std::string delim = ","; std::string token; @@ -217,8 +219,8 @@ namespace Binc { { std::string regex = "^"; for (const char i : s_in) { - if (i == '.' || i == '[' || i == ']' || i == '{' || i == '}' || i == '(' || i == ')' || i == '^' - || i == '$' || i == '?' || i == '+' || i == '\\') + if (i == '.' || i == '[' || i == ']' || i == '{' || i == '}' || i == '(' || i == ')' + || i == '^' || i == '$' || i == '?' || i == '+' || i == '\\') { regex += "\\"; regex += i; -- cgit v1.2.3