def __init__(self, from_, to_, prepend='', append=''):
    self.from_ = from_.strip()
    self.to_ = to_.strip()
    self.regex = re.compile(re.escape(((prepend + self.from_) + append)), (re.IGNORECASE | re.VERBOSE))
def __init__(self, from_, to_, prepend=, append=):
    self.from_ = from_.strip()
    self.to_ = to_.strip()
    self.regex = re.compile(re.escape(((prepend + self.from_) + append)), (re.IGNORECASE | re.VERBOSE))