Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
regex.hh
Go to the documentation of this file.
1#pragma once
3
4#include "error.hh"
5#include <string>
6#include <regex>
7
8namespace nix::regex {
9class Error : public nix::Error
10{
11public:
12 using nix::Error::Error;
13};
14
15std::string quoteRegexChars(const std::string & raw);
16
17std::regex storePathRegex(const std::string & storeDir);
18
19std::regex parse(std::string_view re, std::regex::flag_type flags = std::regex::ECMAScript);
20}
Definition regex.hh:10
This file defines two main structs/classes used in nix error handling.