<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def visit_paragraph(self, node):
 """Check syntax of reStructuredText."""

        find = re.search(r'\[[^\]]+\]\([^\)]+\)', node.rawsource)
        if find is not None:
            self.document.reporter.warning(
                '(rst) Link is formatted in Markdown style.', base_node=node)