hpx/util/sed_transform.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
util
Functions
-
bool
parse_sed_expression
(std::string const &input, std::string &search, std::string &replace)¶ Parse a sed command.
- Return
true if the parsing was successful, false otherwise.
- Note
Currently, only supports search and replace syntax (s/search/replace/)
- Parameters
input
: [in] The content to parse.search
: [out] If the parsing is successful, this string is set to the search expression.search
: [out] If the parsing is successful, this string is set to the replace expression.
-
struct
sed_transform
¶ - #include <sed_transform.hpp>
An unary function object which applies a sed command to its subject and returns the resulting string.
- Note
Currently, only supports search and replace syntax (s/search/replace/)
-
bool
-
namespace