X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fpattern.h;h=5da52eb7d1f3a4786fcd76b5a8b0b47e742e563e;hb=c5d6d6d6d76189b9b2937295709b85654780e9db;hp=8c623bda81eeac0036bc731ef2686d615ed459ef;hpb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;p=builder.git diff --git a/source/lib/pattern.h b/source/lib/pattern.h index 8c623bd..5da52eb 100644 --- a/source/lib/pattern.h +++ b/source/lib/pattern.h @@ -20,6 +20,9 @@ public: 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;