You are here

constant HTTP_REQUEST_PCRE_LINK_TAG in Feeds 7.2

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

PCRE for finding the link tags in html.

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

File

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

Code

define('HTTP_REQUEST_PCRE_LINK_TAG', '/<link((?:[\\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]*)?))?)*)[\\x09\\x0A\\x0B\\x0C\\x0D\\x20]*(>(.*)<\\/link>|(\\/)?>)/si');