[ci skip] Fix error notices in FV when trying to lookup error msgs for closures
Regex fixes

* Replace wrong "wwww." with "www."
* Escape dot
Fix handling of {unwrap} tags in word_wrap() functions

* in Email library: these tags were not removed
* in text helper: simplified code
Pick up some changes from text helper

refs 6ce4746474ddf050f7f4df61b7a22b7f5854d533
Merge pull request #3058 from vlakoff/word_wrap

Fixes in word_wrap() functions