-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hello there,
For some reason my regexp search and replace is no longer matching my selection - not sure which version this started happening with, however it used to work just fine. Nothing changed my side. ( I am using latest grunt / grunt-cli / replace ) .
Here is my replace grunt task:
replace: {
removeextend: {
src: ['bin/js/**/*.js'],
overwrite: true, // overwrite matched source files
replacements: [{
from: /var __extends[\W\S\D]*__\(\);\s};/g,
to: ""
}]
}
},...
and an example file: http://kurst.co.uk/transfer/JSONLoader.js
Here is the Regex in action: http://www.regexr.com/39u9o
Not sure why this stopped working - that query used to work. Any insight into why this stopped working would be welcome.
Thank you for your time.
Metadata
Metadata
Assignees
Labels
No labels