original_string: public function rule_decimal_places($a)
      {
          $places = $this->pullRule();
          $pattern = sprintf('/^[0-9]+\.[0-9]{%s}$/', $places);
          if (!preg_match($pattern, $a)) {
              return $this->fail('Must have {{arg1}} decimal places', $places);
          }
      }
code: public function rule_decimal_places($a)
      {
          $places = $this->pullRule();
          $pattern = sprintf('/^[0-9]+\.[0-9]{%s}$/', $places);
          if (!preg_match($pattern, $a)) {
              return $this->fail('Must have {{arg1}} decimal places', $places);
          }
      }
code_tokens: public function rule_decimal_places ( $ a ) { $ places = $ this -> pullRule ( ) ; $ pattern = sprintf ( '/^[0-9]+\.[0-9]{%s}$/' , $ places ) ; if ( ! preg_match ( $ pattern , $ a ) ) { return $ this -> fail ( 'Must have {{arg1}} decimal places' , $ places ) ; } }
docstring: Checks for a specific number of
  decimal places.
  
  Arg: int- number of places
docstring_tokens: Checks for a specific number of decimal places .