test

Tests if a string matches a regular expression.