Why this regex expression won't work?

I want to use the “find and replace” functionality in a string, and in particular use the “regex” find.
I want to find words between “[]”, like “[word]”. Here’s the regex pattern for it:

\[(.*?)\]

and here’s the proof it works fine: regex101: build, test, and debug regex

But it doesn’t work in Bubble. Why? Is this a bug?

It works fine for me…

What exactly are you trying to do (and what do you mean it doesn’t work in Bubble)?

I’m not sure exactly what you’re trying to achieve, but chatgpt is always my first port of call for questions like this - you should ask that