blob: ae8ba9f3a8be99db855e3522b243083a7d931731 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <regex>
#include "StringWeek5.h"
void StringWeek5::removeAll(const std::string& remove) {
this->text = std::regex_replace(this->text, std::regex(remove), "");
}
const std::string& StringWeek5::getText() const {
return this->text;
}
|