added /o to all regex matches on $opt->{regex} and my runtime went from 3.3s to 2.5s over 1.4s for 1.96 version