Fixes select word modifier for OSX
Updates regex for word selection