bug for exact search fixed

added external parameter about exact regular expression