You are here

constant HTTP_REQUEST_PCRE_TAG_ATTRIBUTES in Feeds 7.2

Same name and namespace in other branches
  1. 8.2 libraries/http_request.inc \HTTP_REQUEST_PCRE_TAG_ATTRIBUTES
  2. 6 libraries/http_request.inc \HTTP_REQUEST_PCRE_TAG_ATTRIBUTES
  3. 7 libraries/http_request.inc \HTTP_REQUEST_PCRE_TAG_ATTRIBUTES

PCRE for matching all the attributes in a tag.

1 use of HTTP_REQUEST_PCRE_TAG_ATTRIBUTES
http_request_find_feeds in libraries/http_request.inc
Finds potential feed tags in the HTML document.

File

libraries/http_request.inc, line 42
Download via HTTP.

Code

define('HTTP_REQUEST_PCRE_TAG_ATTRIBUTES', '/[\\x09\\x0A\\x0B\\x0C\\x0D\\x20]+([^\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\x2F\\x3E][^\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\x2F\\x3D\\x3E]*)(?:[\\x09\\x0A\\x0B\\x0C\\x0D\\x20]*=[\\x09\\x0A\\x0B\\x0C\\x0D\\x20]*(?:"([^"]*)"|\'([^\']*)\'|([^\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\x22\\x27\\x3E][^\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\x3E]*)?))?/');