let bb = 'go go'.match(/\w?/) bb = 'go'.match(/\b(\w+?)\b/) // bb = 'go a'.match(/\b(\w)\b/) // console.log(aa) console.log(bb) let cc ='i.him'.match(/\b.him\b/) // cc ='.him'.match(/^.him$/) console.log(cc)