From Jason Turner

[re.regex]

Diff to HTML by rtfpessoa

tmp/tmpt6sn2w2m/{from.md → to.md} RENAMED
@@ -142,11 +142,11 @@ basic_regex();
142
 
143
  *Effects:* Constructs an object of class `basic_regex` that does not
144
  match any character sequence.
145
 
146
  ``` cpp
147
- basic_regex(const charT* p, flag_type f = regex_constants::ECMAScript);
148
  ```
149
 
150
  *Requires:* *p* shall not be a null pointer.
151
 
152
  *Throws:* `regex_error` if *p* is not a valid regular expression.
@@ -196,11 +196,11 @@ basic_regex(basic_regex&& e) noexcept;
196
  `e.flags()` and `e.mark_count()`, respectively, had before construction.
197
  `e` is in a valid state with unspecified value.
198
 
199
  ``` cpp
200
  template <class ST, class SA>
201
- basic_regex(const basic_string<charT, ST, SA>& s,
202
  flag_type f = regex_constants::ECMAScript);
203
  ```
204
 
205
  *Throws:* `regex_error` if `s` is not a valid regular expression.
206
 
@@ -385,11 +385,11 @@ void swap(basic_regex& e);
385
  *Effects:* Swaps the contents of the two regular expressions.
386
 
387
  `*this` contains the regular expression that was in `e`, `e` contains
388
  the regular expression that was in `*this`.
389
 
390
- *Complexity:* constant time.
391
 
392
  ### `basic_regex` non-member functions <a id="re.regex.nonmemb">[[re.regex.nonmemb]]</a>
393
 
394
  #### `basic_regex` non-member swap <a id="re.regex.nmswap">[[re.regex.nmswap]]</a>
395
 
 
142
 
143
  *Effects:* Constructs an object of class `basic_regex` that does not
144
  match any character sequence.
145
 
146
  ``` cpp
147
+ explicit basic_regex(const charT* p, flag_type f = regex_constants::ECMAScript);
148
  ```
149
 
150
  *Requires:* *p* shall not be a null pointer.
151
 
152
  *Throws:* `regex_error` if *p* is not a valid regular expression.
 
196
  `e.flags()` and `e.mark_count()`, respectively, had before construction.
197
  `e` is in a valid state with unspecified value.
198
 
199
  ``` cpp
200
  template <class ST, class SA>
201
+ explicit basic_regex(const basic_string<charT, ST, SA>& s,
202
  flag_type f = regex_constants::ECMAScript);
203
  ```
204
 
205
  *Throws:* `regex_error` if `s` is not a valid regular expression.
206
 
 
385
  *Effects:* Swaps the contents of the two regular expressions.
386
 
387
  `*this` contains the regular expression that was in `e`, `e` contains
388
  the regular expression that was in `*this`.
389
 
390
+ *Complexity:* Constant time.
391
 
392
  ### `basic_regex` non-member functions <a id="re.regex.nonmemb">[[re.regex.nonmemb]]</a>
393
 
394
  #### `basic_regex` non-member swap <a id="re.regex.nmswap">[[re.regex.nmswap]]</a>
395