~larryprice/ubuntu-app-launch/find-theme-icons

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/application-icon-finder.cpp

  • Committer: Larry Price
  • Date: 2016-05-02 20:33:08 UTC
  • Revision ID: larry.price@canonical.com-20160502203308-l1eaiz0n269ws2q2
no need for second capture group in regex

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
constexpr auto PIXMAPS_PATH = "/pixmaps/";
43
43
constexpr auto ICON_TYPES = {".png", ".svg", ".xpm"};
44
44
 
45
 
static const std::regex iconSizeDirname = std::regex("^(\\d+)x(\\1)$");
 
45
static const std::regex iconSizeDirname = std::regex("^(\\d+)x\\1$");
46
46
}  // anonymous namespace
47
47
 
48
48
IconFinder::IconFinder(std::string basePath)