Make the event handler attribute Regex a property of ViewController