m/^(?:$criteria)\z/ [download]
In reply to Re^2: Regular Expression match too much by enemyofthestate in thread Regular Expression match too much by enemyofthestate