Support literal dashes in regular expressions to support regex that matches uuid.