Impossible?

I have been told that it is impossible for a women to get pregnant if her periods are irregular... is this true...?