RE: 3.0.x: check regex against multiple instances of attribute