PyFunceble/helpers.py
def replace(self):
        """
        Used to replace a matched string with another.

        :return: The data after replacement.
        :rtype: str
        """

        if self.replace_with:  # pylint: disable=no-member
            return substrings(
                self.regex,
                self.replace_with,  # pylint: disable=no-member
                self.data,
                self.occurences,  # pylint: disable=no-member
            )

        return self.data
def replace(self):
        if self.replace_with:  # pylint: disable=no-member
            return substrings(
                self.regex,
                self.replace_with,  # pylint: disable=no-member
                self.data,
                self.occurences,  # pylint: disable=no-member
            )

        return self.data
def replace ( self ) : if self . replace_with : # pylint: disable=no-member return substrings ( self . regex , self . replace_with , # pylint: disable=no-member self . data , self . occurences , # pylint: disable=no-member ) return self . data
Used to replace a matched string with another.

        :return: The data after replacement.
        :rtype: str
Used to replace a matched string with another .