I want to match expressions that begin with "${" and end with "}" in the expression ${foo} and ${bar}.
The regex .*\$\{.+\}.* matches the entire expression, of course.
My understanding was that changing to the reluctant quantifier would solve the problem, but I find that .*\$\{.+?\}.* also matches the entire expression.
What am I missing?