regular expressions now checks for spaces either side of the key work to avoid including works like tomorrow in complexity