Adjust regex statements