diff options
Diffstat (limited to 'src/libstore/path-regex.hh')
-rw-r--r-- | src/libstore/path-regex.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/path-regex.hh b/src/libstore/path-regex.hh new file mode 100644 index 000000000..6893c3876 --- /dev/null +++ b/src/libstore/path-regex.hh @@ -0,0 +1,7 @@ +#pragma once + +namespace nix { + +static constexpr std::string_view nameRegexStr = R"([0-9a-zA-Z\+\-\._\?=]+)"; + +} |