Resigning from regex