Added regex rule matching
'keydown' -> 'keyup' so that event "tagName" param more accurately reflects input contents