in reply to remove me, thank you.
in thread Regex Tuning /(?:(?:foo[34])|(?:bar[12]))\.txt/io
/o can only help to improve the speed if the pattern has any variable, wich isn't the case. So /o is not needed. Also, it's almost every time a better choice to use qr//