Unfortunately I always get zero as a result of the BD.
In the event I set:
Team1 4t and 3ms
Team2 3t and 4ms
The result:
Team1: BO = 1, BD = 0.
Team2: BO = 0, BD = 0.
I specify that I am using the free version 2.6.20
Checking on modules/sportspress-conditional-equations.php on line 80 I see that it does not handle the operation suggested by you (as it did not manage the one I created).
Code:
// Find all parentheses with conditional operators
$re = '/([^[\(|\)]*[<=>][^[\(|\)]*)/';
if ( preg_match_all( $re, $equation, $matches ) ) {
foreach ( $matches[1] as $match ) {
etc…..
In this way it sees only the first equation ms>t, it does not handle the second operation.
Here you can see the evidence more clearly:
LINK TO PHP LIVE REGEX SCREENSHOT