Fixed search regexp to match the term from start and fixed a typo.