Slightly better regex for slugfy, compile regex before using it