From Jason Turner

[re.badexp]

Diff to HTML by rtfpessoa

tmp/tmpytb7fabn/{from.md → to.md} RENAMED
@@ -1,13 +1,15 @@
1
  ## Class `regex_error` <a id="re.badexp">[[re.badexp]]</a>
2
 
3
  ``` cpp
 
4
  class regex_error : public runtime_error {
5
  public:
6
  explicit regex_error(regex_constants::error_type ecode);
7
  regex_constants::error_type code() const;
8
  };
 
9
  ```
10
 
11
  The class `regex_error` defines the type of objects thrown as exceptions
12
  to report errors from the regular expression library.
13
 
 
1
  ## Class `regex_error` <a id="re.badexp">[[re.badexp]]</a>
2
 
3
  ``` cpp
4
+ namespace std {
5
  class regex_error : public runtime_error {
6
  public:
7
  explicit regex_error(regex_constants::error_type ecode);
8
  regex_constants::error_type code() const;
9
  };
10
+ }
11
  ```
12
 
13
  The class `regex_error` defines the type of objects thrown as exceptions
14
  to report errors from the regular expression library.
15