fix(grunt): fix regex in grunt util to handle pre-release versions