Module testcall::regex[][src]

Structs

The result of the capturing function. Can be indexed by number (usize) or ‘&str’ to obtain the matches.

Functions

Returns the captures from the ‘input’ data matched by ‘regex’. The input is lossy translated to UTF8.

Checks if the input matches the given regex as bytes. Returns a tuple of the test outcome and the input as lossy utf8 string (for diagnostics).

Checks if the input (lossy translated to utf8) matches the given regex. Returns a tuple of the test outcome and the utf8 string (for diagnostics).