[squash] tune regex for rake tasks [skip ci]