diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2021-02-12 17:13:57 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2021-02-12 17:13:57 +0100 |
| commit | 5bfc150688ea748595b6535eb1dc5d777baf16e4 (patch) | |
| tree | d2354c678cb0e2b4ebf4383c72a46cca6563891a /apt-pkg/cachefilter-patterns.cc | |
| parent | 3b198616423daaef69c938fbcc5dd11a1e8f866c (diff) | |
kernels: Avoid std::regex for escaping '.' and '+'
std::regex pulls in about 50 weak symbols which is complete and
utter madness, especially because we version all our symbols, so no
other library could ever reuse them.
Avoid using the regular expression here all together, loop using
string::find_first_of() and insert backslashes with strng::insert().
Diffstat (limited to 'apt-pkg/cachefilter-patterns.cc')
0 files changed, 0 insertions, 0 deletions
