method regexes