set extension via options

override auto selected regex rules