Add detection for is not operator

This commit is contained in:
Brian Miyaji
2018-05-04 21:27:12 +10:00
parent cc30cdf3ac
commit 8cb92b35d9

View File

@@ -83,7 +83,7 @@ if ( ! class_exists( 'SportsPress_Conditional_Equations' ) ) :
foreach ( $matches[1] as $match ) {
// Find which Conditional Operator is used
preg_match ( '/[\>\=\<]+/' ,$match, $conop );
preg_match ( '/[\!\>\=\<]+/' ,$match, $conop );
$conop = $conop[0];
//preg_match ( '/.+?(?=[\>\=\<])/' ,$match, $leftvar );