Like this?
/x{@{[2 + 3]}}/ [download]
In reply to Re: interpolating code in regex brace quantifier by tybalt89 in thread interpolating code in regex brace quantifier by grobber