The regexp is matched per line, so your code will hide any paren at the end of a line. You’ll probably have to build up the decorations yourself, not use MatchDecorator.
This example goes through some way to use decorations. I’d guess your plugin would just look at the first and last line in the document and decide which ranges to hide based on their content.