aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/url-name.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/url-name.cc b/src/libutil/url-name.cc
index 6ef58c80a..7c526752c 100644
--- a/src/libutil/url-name.cc
+++ b/src/libutil/url-name.cc
@@ -5,7 +5,7 @@
namespace nix {
-static std::string const attributeNamePattern("[a-z0-9_-]+");
+static std::string const attributeNamePattern("[a-zA-Z0-9_-]+");
static std::regex const lastAttributeRegex("(?:" + attributeNamePattern + "\\.)*(?!default)(" + attributeNamePattern +")(\\^.*)?");
static std::string const pathSegmentPattern("[a-zA-Z0-9_-]+");
static std::regex const lastPathSegmentRegex(".*/(" + pathSegmentPattern +")");