According to the following website Nylon is not affected by gasoline.

http://compest.com/static/training/motor_rac_gte/refinishing_procedures/code_for_plastic_par_code_for_plastic_parts.htm