Reverting change in as_complex_pattern