Check against regular expressions