Suppose I want to search for things like
\todo{English sentence}
Then the regex
\\todo{\_.\{-}}
works (I don't know why. I copied it from somewhere long time ago (embarrassed)).
But suppose I want to match things like
\todo{anything whatsoever}
Then the above regex is no good.
For example, if I have
\todo{The problem is caused because of {another} pair of braces inside}
The previous regex just matches
\todo{The problem is caused because of {another}
What is the correct regex, and if possible, can someone break it down a little bit? Things like \_.\{-}
already seem to make no sense!
Big thanks.
{
then, jump to}
with%
-- as long as you can still apply the action you wish.