@staticmethod
def _meta_regex(prop):
    return ('(?isx)<meta\n                    (?=[^>]+(?:itemprop|name|property|id|http-equiv)=(["\\\']?)%s\\1)\n                    [^>]+?content=(["\\\'])(?P<content>.*?)\\2' % re.escape(prop))
@staticmethod
def _meta_regex(prop):
    return ('(?isx)<meta\n                    (?=[^>]+(?:itemprop|name|property|id|http-equiv)=(["\\\']?)%s\\1)\n                    [^>]+?content=(["\\\'])(?P<content>.*?)\\2' % re.escape(prop))