Single vs Multiple Pattern Matching - String Matching Problem Formalization | OneNoughtOne