結果 : check if regex matches javascript