regexp working copy, need to refine the MyKeyEvent data def
notebook