'This method searches for preg_replace errors in html\'s.
:param response: The HTTP response object
:return: A list of errors found on the page'

def _find_preg_error(self, response):

    res = []
    for error_match in self._multi_in.query(response.body):
        msg = 'An    unsafe    usage    of    preg_replace()    function    was    found,    the    error    that    was    sent    by    the    web    application    is    (only    a    fragment    is    shown):    "%s",    and    was    found    in    the    response    with    id    %s.'
        om.out.information((msg % (error_match, response.id)))
        res.append(error_match)
    return res
