Fix regex for linux

linux doesn't like '\w' in regexes