for ( $sFunction ) { /test1/ || /test2/ and do { # .... }; /test2/ and do { # will be executed too }; }