SIMPLEPIE_PCRE_XML_ATTRIBUTE

The WordPress Core SIMPLEPIE PCRE XML ATTRIBUTE constant.

Value (string)

'((?:\s+(?:(?:[^\s:]+:)?[^\s:]+)\s*=\s*(?:"(?:[^"]*)"|\'(?:[^\']*)\'))*)\s*' 

Usage

  1. if ( defined( 'SIMPLEPIE_PCRE_XML_ATTRIBUTE' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'SIMPLEPIE_PCRE_XML_ATTRIBUTE' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/wp-includes/class-simplepie.php  
  1. define('SIMPLEPIE_PCRE_XML_ATTRIBUTE', '((?:\s+(?:(?:[^\s:]+:)?[^\s:]+)\s*=\s*(?:"(?:[^"]*)"|\'(?:[^\']*)\'))*)\s*');