Non-greedy regex search in IDE

While doing some checking on the spanish version of my app I noticed that the translation had screwed up some localised strings. Instead of doing the steps until I get the translation files into Excel I thought to do a simple regex search in the IDE:

<<.? .?>>

But the result still is greedy:

I’m looking for a space inside of

Screen Shot 2021-07-12 at 12.21.10

Avoid using this dot when you can be specific. In this case, perhaps something like this:

<<[^>\x20]*\x20

But to answer your question, starting the pattern with a switch is allowed: (?U) means “Ungreedy”. (I know, but just roll with it.)

Many thanks!