+class bad_regex: public std::logic_error
+{
+public:
+ bad_regex(const std::string &, const std::string &, const std::string::const_iterator &);
+ virtual ~bad_regex() throw() = default;
+
+private:
+ std::string make_where(const std::string &, const std::string::const_iterator &);
+};
+
+