process bang pattern