Wrote regex patterns for salute listener.