fixing up pattern validator
removing console.log
starting to fix match validator