warcexclude: reorganise and handle regex complexity problem