sanitycheck: use re.search to match output

Account for cases where there is a prefix to the output where exact
matching does not work.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/sanity_chk/harness.py b/scripts/sanity_chk/harness.py
index 3d9f2df..4be7750 100644
--- a/scripts/sanity_chk/harness.py
+++ b/scripts/sanity_chk/harness.py
@@ -23,12 +23,12 @@
     def handle(self, line):
         if self.type == "one_line":
             pattern = re.compile(self.regex[0])
-            if pattern.match(line):
+            if pattern.search(line):
                 self.state = "passed"
         elif self.type == "multi_line":
             for r in self.regex:
                 pattern = re.compile(r)
-                if pattern.match(line) and not r in self.matches:
+                if pattern.search(line) and not r in self.matches:
                     self.matches[r] = line
 
             if len(self.matches) == len(self.regex):