Fix parsing of '#nixosConfigurations."hostname".config...'
This is not strictly speaking valid but who cares.
This commit is contained in:
parent
44d6421160
commit
d070e1c532
|
@ -13,7 +13,7 @@ const static std::string authorityRegex =
|
||||||
const static std::string segmentRegex = "[a-zA-Z0-9._~-]+";
|
const static std::string segmentRegex = "[a-zA-Z0-9._~-]+";
|
||||||
const static std::string pathRegex = "(?:/?" + segmentRegex + "(?:/" + segmentRegex + ")*|/?)";
|
const static std::string pathRegex = "(?:/?" + segmentRegex + "(?:/" + segmentRegex + ")*|/?)";
|
||||||
const static std::string pcharRegex =
|
const static std::string pcharRegex =
|
||||||
"(?:[a-zA-Z0-9-._~!$&'()*+,;=:@ ]|" + pctEncoded + ")";
|
"(?:[a-zA-Z0-9-._~!$&'\"()*+,;=:@ ]|" + pctEncoded + ")";
|
||||||
const static std::string queryRegex = "(?:" + pcharRegex + "|[/?])*";
|
const static std::string queryRegex = "(?:" + pcharRegex + "|[/?])*";
|
||||||
|
|
||||||
// A Git ref (i.e. branch or tag name).
|
// A Git ref (i.e. branch or tag name).
|
||||||
|
|
Loading…
Reference in a new issue