cedaro / grunt-wp-i18n

Internationalize WordPress themes and plugins with Grunt.
MIT License
160 stars 25 forks source link

Fix replace regex for x-poedit-searchpath & x-poedit-searchpathexcluded #53

Closed walbo closed 9 years ago

walbo commented 9 years ago

Both x-poedit-searchpath and x-poedit-searchpathexcluded can have multiple headers. Do a global search and fixed case-sensitivity.

Ex.

'x-poedit-searchpathexcluded-0': 'vendor',
'x-poedit-searchpathexcluded-1': 'assets',

This will work with the new regex but failed with the old.

bradyvercher commented 9 years ago

Thanks for the PR @walbo!