I am trying to learn regex but can't figure out how the following regex works.
It is used to identify java block comments like /*blah blah*/:
Regex
\/\*\_.\{-}\*\/
I know that
\/\*at the beginning is for matching/*and\*\/at the end is for matching*/.
Issue
But I can't interpret \_.\{-}.
What pattern does this expression stand for?