protected function checkAttributeExpression(DOMNode $node, Tag $tag, $expr)
	{
		preg_match_all('(@([-\\w]+))', $expr, $matches);
		foreach ($matches[1] as $attrName)
		{
			$this->checkAttribute($node, $tag, $attrName);
		}
	}
protected function checkAttributeExpression(DOMNode $node, Tag $tag, $expr)
	{
		preg_match_all('(@([-\\w]+))', $expr, $matches);
		foreach ($matches[1] as $attrName)
		{
			$this->checkAttribute($node, $tag, $attrName);
		}
	}
protected function checkAttributeExpression ( DOMNode $ node , Tag $ tag , $ expr ) { preg_match_all ( '(@([-\\w]+))' , $ expr , $ matches ) ; foreach ( $ matches [ 1 ] as $ attrName ) { $ this -> checkAttribute ( $ node , $ tag , $ attrName ) ; } }
Test whether an attribute expression is safe

@param  DOMNode $node Context node
@param  Tag     $tag  Source tag
@param  string  $expr XPath expression that evaluates to one or multiple named attributes
@return void
Test whether an attribute expression is safe