Skip to content
Snippets Groups Projects
Forked from APT Developers / apt
Source project has a limited visibility.
  • Julian Andres Klode's avatar
    5bfc1506
    kernels: Avoid std::regex for escaping '.' and '+' · 5bfc1506
    Julian Andres Klode authored
    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().
    5bfc1506
    History
    kernels: Avoid std::regex for escaping '.' and '+'
    Julian Andres Klode authored
    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().