@staticmethod
def _og_regexes(prop):
    content_re = 'content=(?:"([^"]+?)"|\\\'([^\\\']+?)\\\'|\\s*([^\\s"\\\'=<>`]+?))'
    property_re = ('(?:name|property)=(?:\\\'og[:-]%(prop)s\\\'|"og[:-]%(prop)s"|\\s*og[:-]%(prop)s\\b)' % {'prop': re.escape(prop)})
    template = '<meta[^>]+?%s[^>]+?%s'
    return [(template % (property_re, content_re)), (template % (content_re, property_re))]
@staticmethod
def _og_regexes(prop):
    content_re = 'content=(?:"([^"]+?)"|\\\'([^\\\']+?)\\\'|\\s*([^\\s"\\\'=<>`]+?))'
    property_re = ('(?:name|property)=(?:\\\'og[:-]%(prop)s\\\'|"og[:-]%(prop)s"|\\s*og[:-]%(prop)s\\b)' % {'prop': re.escape(prop)})
    template = '<meta[^>]+?%s[^>]+?%s'
    return [(template % (property_re, content_re)), (template % (content_re, property_re))]