Modified the line setting reftex ignore by extension based on a question
I asked on TeX exchange.