<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_links(self, text=None, *args, **kwargs):
 """Find anchors or buttons by containing text, as well as standard BeautifulSoup arguments. :param text: String or regex to be matched in link text :return: List of BeautifulSoup tags """

        return helpers.find_all(
            self.parsed, _link_ptn, text=text, *args, **kwargs
        )