str_match function - RDocumentation
<p>Vectorised over <code>string</code> and <code>pattern</code>.</p>