Fix the problem that can not match the upper case word.

Fix the problem that can not match upper case word,when prefix is in lower case,by making prefix upper case.
For example, when prefix is "hello",the word "Hello" is unmatched.