unfortunately i do not see why my regex will not work on this one :
const result = hey(‘Tom-ay-to, tom-aaaah-to.’); and my regex is: /[1]+$/.test(msg) which should exclude this one and return “whatever” but it returns “Whoa, chill out!” what do i miss here ?
A-Z\s!., ↩︎