add 'r' to regular expressions