We propose a couple of oracle construction methods for quantum pattern matching. in turn show that one the construct can be used with Grover's search algorithm exact and partial matching, deterministically. The other also points to matched indices, but primarily provides means generate Hamming distance between searched all possible sub strings input string, probabilistic way.