gruntjs/grunt-contrib-symlink — pull request #10 by grawk (2014-05-06 00:10:24+00:00)
Title: add backreference/regex feature

Using regex and backreferencing allows for incredibly flexible symlinking scenarios a la:
```javascript
options: {
overwrite: true
},
expanded: {
files: [{
expand: true,
overwrite: true,
flatten: false,
cwd: 'pusblic/components',
src: ['*/*/*.dust'],
regex: /(public\/components)(\/.+)(\/templates)(\/.+dust)/g,
backreference: 'public/templates/components$2$4'
}, {
expand: true,
overwrite: true,
flatten: false,
cwd: 'public/components/',
src: ['*/*/*/*/*.properties'],
regex: /(public\/components)(\/.+)(\/locales)(\/[A-Z]{2}\/[a-z]{2})(\/.+properties)/g,
backreference: 'locales$4/components$2$5'
}]
}
```