mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Test store paths, with property tests
The property test in fact found a bug: we were excluding numbers!
This commit is contained in:
parent
685395332d
commit
018e2571aa
8 changed files with 228 additions and 8 deletions
7
src/libstore/path-regex.hh
Normal file
7
src/libstore/path-regex.hh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
namespace nix {
|
||||
|
||||
static constexpr std::string_view nameRegexStr = R"([0-9a-zA-Z\+\-\._\?=]+)";
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue