More event code and a regular expression