m/^(?:$criteria)\z/ Ref: perlre
In reply to Re: Regular Expression match too much by ikegami in thread Regular Expression match too much by enemyofthestate