def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def test_impl(df):
            B = df.A.str.replace('AB*', 'EE', regex=True)
            return B