Revert to regexp