Lines Matching refs:operator
26 'operator' => '(?:!=|>=|<=|>|<|=|!~>|!~|!\^~|!\$~|\^~|\$~|~>|~)',
571 } elseif(preg_match("/^({$p->variable})\s*({$p->type})?\s*({$p->operator})\s*({$p->variable})\s*({$p->type})?$/S",$line, $match)) {
572 list(,$lhs, $ltype, $operator, $rhs, $rtype) = $match;
577 if($operator == '~>' || $operator == '!~>') $operator = str_replace('~>','^~',$operator);
602 $filters[] = array('type'=>'filter', 'lhs'=>$lhs, 'operator'=>$operator, 'rhs'=>$rhs, '_line'=>$lineNode);
605 } elseif(preg_match("/^({$p->variable})\s*({$p->type})?\s*({$p->operator})\s*({$p->any})$/S",$line, $match)) {
608 list(, $lhs,$ltype,$operator,$rhs) = $match;
630 // special case: the right hand side of the 'in' operator always normalizes with the 'text' type
631 if($operator == '~>' || $operator == '!~>') {
632 $operator = str_replace('~>','^~', $operator);
641 $filters[] = array('type'=>'filter','lhs'=>$lhs, 'operator'=>$operator, 'rhs'=>$rhs, '_line'=>$lineNode);
644 } elseif(preg_match("/^({$p->any})\s*({$p->operator})\s*({$p->variable})\s*({$p->type})?$/S",$line, $match)) {
645 list(, $lhs,$operator,$rhs,$rtype) = $match;
667 // special case: the left hand side of the 'in' operator always normalizes with the 'page' type
668 if($operator == '~>' || $operator == '!~>') {
669 $operator = str_replace('~>','^~', $operator);
678 $filters[] = array('type'=>'filter','lhs'=>$lhs, 'operator'=>$operator, 'rhs'=>$rhs, '_line'=>$lineNode);