From 54a1d35556bcc1aaed803f2226f84e5b16dff140 Mon Sep 17 00:00:00 2001 From: Nicholas O'Connor Date: Wed, 15 May 2019 17:16:54 -0700 Subject: [PATCH] rename drive letter regex to make room for expansion --- src/core/paths.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/paths.cpp b/src/core/paths.cpp index 3dc8fb0..35b848c 100644 --- a/src/core/paths.cpp +++ b/src/core/paths.cpp @@ -18,9 +18,9 @@ using namespace cellar; string cellar::paths::translate(std::string in_path, bool lazy) { bool windows_input; - static regex drive_letter(R"([a-zA-Z]:\\)"); + static regex drive_letter_rgx(R"([a-zA-Z]:\\)"); - windows_input = regex_match(in_path.substr(0, 3), drive_letter); + windows_input = regex_match(in_path.substr(0, 3), drive_letter_rgx); if (!lazy) { output::warning("non-lazy path translation is not implemented yet");