How to exclude jest/js test by tagName running with –testNamePattern?

I have a lot of tests in jest/js.
I would like to exclude some of them with tag @bug from run.

test example to exclude from run:

test("@bug Sign In - Check Wrong user credentials: status-code 400", async () => { ... });

i tried run this script:

npx jest --testNamePattern='^(?!.*@bug).*$'

but it run all tests and not exclude tests with tag @bug.

Did someone face with such behavior?