-re should be placed BEFORE -i, or it doesn't work