one percent sign (%) to separate the prefix and suffix. */
Pattern(const std::string &);
+ const std::string &get_prefix() const { return prefix; }
+ const std::string &get_suffix() const { return suffix; }
+
/** Applies the pattern to a body string. */
std::string apply(const std::string &) const;