fix regex in gruntfile for version replacement