1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 05:26:02 +01:00

Move flakeIdRegex{,S} from libutil to flakeref.{cc,hh

It isn't used, and doesn't belong in `libutil`.
This commit is contained in:
John Ericson 2023-09-28 20:55:41 -04:00
parent cede94dbf7
commit b912f3a937
4 changed files with 5 additions and 4 deletions

View file

@ -289,4 +289,6 @@ std::tuple<FlakeRef, std::string, ExtendedOutputsSpec> parseFlakeRefWithFragment
return {std::move(flakeRef), fragment, std::move(extendedOutputsSpec)};
}
std::regex flakeIdRegex(flakeIdRegexS, std::regex::ECMAScript);
}