I have this regex: (*UCP).*\bпроверка\b.*.
And it works well on the regex101.com (https://regex101.com/r/9elF5c), but not in JavaScript.
const regex = /(*UCP).*\bпроверка\b.*/
console.log(regex.test('а проверка б'))
Can someone please explain what the problem is and how to fix it