formats and regexps