original_string: protected function shouldSetBaseTen($unit)
      {
          $unitMatchesIec = preg_match(UnitResolver::IEC_PATTERN, $unit);
          return
              ($this->from == 'B' && !$unitMatchesIec) ||
              (preg_match(UnitResolver::SI_PATTERN, $this->from) && !$unitMatchesIec);
      }
code: protected function shouldSetBaseTen($unit)
      {
          $unitMatchesIec = preg_match(UnitResolver::IEC_PATTERN, $unit);
          return
              ($this->from == 'B' && !$unitMatchesIec) ||
              (preg_match(UnitResolver::SI_PATTERN, $this->from) && !$unitMatchesIec);
      }
code_tokens: protected function shouldSetBaseTen ( $ unit ) { $ unitMatchesIec = preg_match ( UnitResolver :: IEC_PATTERN , $ unit ) ; return ( $ this -> from == 'B' && ! $ unitMatchesIec ) || ( preg_match ( UnitResolver :: SI_PATTERN , $ this -> from ) && ! $ unitMatchesIec ) ; }
docstring: Match from against the unit to see if
  the base should be set to 10
  
  @param $unit
  @return bool
docstring_tokens: Match from against the unit to see if the base should be set to 10