From Jason Turner

[re.regex.construct]

Diff to HTML by rtfpessoa

tmp/tmpvp1b75ti/{from.md → to.md} RENAMED
@@ -6,11 +6,11 @@ basic_regex();
6
 
7
  *Effects:* Constructs an object of class `basic_regex` that does not
8
  match any character sequence.
9
 
10
  ``` cpp
11
- basic_regex(const charT* p, flag_type f = regex_constants::ECMAScript);
12
  ```
13
 
14
  *Requires:* *p* shall not be a null pointer.
15
 
16
  *Throws:* `regex_error` if *p* is not a valid regular expression.
@@ -60,11 +60,11 @@ basic_regex(basic_regex&& e) noexcept;
60
  `e.flags()` and `e.mark_count()`, respectively, had before construction.
61
  `e` is in a valid state with unspecified value.
62
 
63
  ``` cpp
64
  template <class ST, class SA>
65
- basic_regex(const basic_string<charT, ST, SA>& s,
66
  flag_type f = regex_constants::ECMAScript);
67
  ```
68
 
69
  *Throws:* `regex_error` if `s` is not a valid regular expression.
70
 
 
6
 
7
  *Effects:* Constructs an object of class `basic_regex` that does not
8
  match any character sequence.
9
 
10
  ``` cpp
11
+ explicit basic_regex(const charT* p, flag_type f = regex_constants::ECMAScript);
12
  ```
13
 
14
  *Requires:* *p* shall not be a null pointer.
15
 
16
  *Throws:* `regex_error` if *p* is not a valid regular expression.
 
60
  `e.flags()` and `e.mark_count()`, respectively, had before construction.
61
  `e` is in a valid state with unspecified value.
62
 
63
  ``` cpp
64
  template <class ST, class SA>
65
+ explicit basic_regex(const basic_string<charT, ST, SA>& s,
66
  flag_type f = regex_constants::ECMAScript);
67
  ```
68
 
69
  *Throws:* `regex_error` if `s` is not a valid regular expression.
70