diff --git a/include/ircd/lexical.h b/include/ircd/lexical.h index 5e8465e3d..28b579f3b 100644 --- a/include/ircd/lexical.h +++ b/include/ircd/lexical.h @@ -130,6 +130,7 @@ size_t tokens_count(const string_view &str, const char *const &sep); string_view token(const string_view &str, const char *const &sep, const size_t &at); string_view token_last(const string_view &str, const char *const &sep); string_view token_first(const string_view &str, const char *const &sep); +string_view tokens_after(const string_view &str, const char *const &sep, const size_t &at); class params { diff --git a/ircd/lexical.cc b/ircd/lexical.cc index f50e1c92d..6338327ed 100644 --- a/ircd/lexical.cc +++ b/ircd/lexical.cc @@ -23,6 +23,20 @@ #include