switch to %r for regex
fix all rubocop errors