Check warning regex