Make the event handler attribute regex a property of ViewController