I am asking internally about this and will return with a proper response. In the meantime, I have experimented with it for a some minutes and I think it’s a group catcher of some kind. I am not too sure but your use case can be achieve with:
/{?:valueOne|valueTwo}/
or/value{test:[A-Z]{1}[a-z]+}/