in reply to interpolating code in regex brace quantifier

Like this?

/x{@{[2 + 3]}}/