cpp/regex/basic regex/basic regex

Constructs a new regular expression from a sequence of characters interpreted according to the flags.

@1@ Default constructor. Constructs an empty regular expression which will match nothing.

@2@ Constructs a regex from a null-terminated string.

@3@ Constructs a regex from a sequence of characters, pointed to by.

@4@ Copy constructor. Constructs a regex by copying.

@5@ Move constructor. Constructs a regex with the contents of using move semantics.

@6@ Constructs a regex from a string.

@7@ Range constructor. Constructs the string with the contents of the range.

@8@ Initializer list constructor. Constructs the string with the contents of the initializer list.

Exceptions
@1@

@2-3@ std if the supplied regular expression is not valid.

@4@

@6-8@ std if the supplied regular expression is not valid.