sofin-rpp: Partial rewrite. More in details:

* Simplified pattern searching. Using std::search
* Replace all matched patterns. Thanks to regex!