Skip to content
  • Murray Cumming's avatar
    C++11: Replace Glib::Regex with std::regex. · b9879fc9
    Murray Cumming authored
    Annoyingly:
    * the std::regex API can't just give us a vector of
    matches.
    * It lets us iterate through the matches, but not with a
    range-based for loop.
    * We have to iterate over sub-matches. I guess it could be useful
    to know what top-level strings are being used.
    * Iterating doesn't work normally because the first (0) sub match
    is really the full parent match.
    b9879fc9