This primitive now uses regexps.