original_string: function _getName($string)
  	{
  		if (preg_match('/name=("([^"]*)"|\'([^\']*)\'|[^>\s]*)([^>]*)?>/is', $string, $match)) {
  			//preg_match('/name=["\']?([\w\s]*)["\']?[\s>]/i', $string, $match)) { -- did not work as expected
  			$val_match = trim($match[1]);
  			$val_match = trim($val_match, '"\'');
  			unset($string);
  			return trim($val_match, '"');
  		}
  		return false;
  	}
code: function _getName($string)
  	{
  		if (preg_match('/name=("([^"]*)"|\'([^\']*)\'|[^>\s]*)([^>]*)?>/is', $string, $match)) {
  			//preg_match('/name=["\']?([\w\s]*)["\']?[\s>]/i', $string, $match)) { -- did not work as expected
  			$val_match = trim($match[1]);
  			$val_match = trim($val_match, '"\'');
  			unset($string);
  			return trim($val_match, '"');
  		}
  		return false;
  	}
code_tokens: function _getName ( $ string ) { if ( preg_match ( '/name=("([^"]*)"|\'([^\']*)\'|[^>\s]*)([^>]*)?>/is' , $ string , $ match ) ) { //preg_match('/name=["\']?([\w\s]*)["\']?[\s>]/i', $string, $match)) { -- did not work as expected $ val_match = trim ( $ match [ 1 ] ) ; $ val_match = trim ( $ val_match , '"\'' ) ; unset ( $ string ) ; return trim ( $ val_match , '"' ) ; } return false ; }
docstring: gets the name
  
  @param string $string string
  
  @return string something
docstring_tokens: gets the name