Automattic / go-search-replace

🚀 Search & replace URLs in WordPress SQL files.
https://wpvip.com/2018/03/28/data-sync-on-vip-go/
GNU General Public License v3.0
88 stars 19 forks source link

Domains in email addresses #2

Closed simonwheatley closed 7 years ago

simonwheatley commented 7 years ago

Should we ensure that we don't replace the domains within email addresses. So example.com/something gets replaced to example.local/something, but bri@example.com is left untouched?

joshbetz commented 7 years ago

Similar to #1, I'd like to avoid implying anything about the input. I think we can form searches such that email addresses don't match. i.e. ://example.com