{"id":1141933,"date":"2025-01-08T22:35:22","date_gmt":"2025-01-08T14:35:22","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1141933.html"},"modified":"2025-01-08T22:35:24","modified_gmt":"2025-01-08T14:35:24","slug":"python%e5%a6%82%e4%bd%95%e8%ae%a9%e5%8c%b9%e9%85%8d%e4%b8%89%e4%b8%aa%e5%ad%97%e7%ac%a6%e4%b8%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1141933.html","title":{"rendered":"python\u5982\u4f55\u8ba9\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104523\/06d2ab36-6d30-4583-8908-d0709441f9bc.webp\" alt=\"python\u5982\u4f55\u8ba9\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\" \/><\/p>\n<p><p> <strong>\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u96c6\u5408\u4ea4\u96c6\u3001\u5d4c\u5957\u5faa\u73af\u3001\u4ee5\u53ca\u4f7f\u7528Python\u7684\u5185\u7f6e\u5e93\u7b49\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd<\/strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u96c6\u5408\u4ea4\u96c6<strong>\u4e24\u79cd\u65b9\u6cd5\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u5728\u5b57\u7b26\u4e32\u4e2d\u641c\u7d22\u3001\u5339\u914d\u548c\u66ff\u6362\u6587\u672c\u3002Python\u7684<code>re<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5bf9\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u652f\u6301\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u57fa\u672c\u6982\u5ff5<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u6a21\u5f0f\uff0c\u7528\u4e8e\u5339\u914d\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u5e8f\u5217\u3002\u901a\u8fc7\u5b9a\u4e49\u7279\u5b9a\u7684\u6a21\u5f0f\uff0c\u53ef\u4ee5\u5728\u5b57\u7b26\u4e32\u4e2d\u641c\u7d22\u548c\u63d0\u53d6\u6240\u9700\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h4>1.2 \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u6765\u5904\u7406\u6b63\u5219\u8868\u8fbe\u5f0f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def match_strings(pattern, string1, string2, string3):<\/p>\n<p>    return re.match(pattern, string1) and re.match(pattern, string2) and re.match(pattern, string3)<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>pattern = r&#39;^[a-z]+$&#39;  # \u5339\u914d\u53ea\u5305\u542b\u5c0f\u5199\u5b57\u6bcd\u7684\u5b57\u7b26\u4e32<\/p>\n<p>string1 = &#39;hello&#39;<\/p>\n<p>string2 = &#39;world&#39;<\/p>\n<p>string3 = &#39;python&#39;<\/p>\n<p>if match_strings(pattern, string1, string2, string3):<\/p>\n<p>    print(&#39;\u6240\u6709\u5b57\u7b26\u4e32\u90fd\u5339\u914d\u8be5\u6a21\u5f0f&#39;)<\/p>\n<p>else:<\/p>\n<p>    print(&#39;\u6709\u5b57\u7b26\u4e32\u4e0d\u5339\u914d\u8be5\u6a21\u5f0f&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u96c6\u5408\u4ea4\u96c6<\/h3>\n<\/p>\n<p><p>\u96c6\u5408\u4ea4\u96c6\u662f\u4e00\u79cd\u7b80\u5355\u800c\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u7528\u4e8e\u67e5\u627e\u591a\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u5171\u540c\u5143\u7d20\u3002Python\u7684<code>set<\/code>\u6570\u636e\u7c7b\u578b\u63d0\u4f9b\u4e86\u4ea4\u96c6\u64cd\u4f5c\uff0c\u4f7f\u5f97\u8fd9\u4e00\u8fc7\u7a0b\u53d8\u5f97\u975e\u5e38\u7b80\u5355\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u57fa\u672c\u6982\u5ff5<\/h4>\n<\/p>\n<p><p>\u96c6\u5408\u662f\u4e00\u79cd\u65e0\u5e8f\u4e14\u4e0d\u91cd\u590d\u7684\u5143\u7d20\u96c6\u5408\u3002\u4ea4\u96c6\u64cd\u4f5c\u53ef\u4ee5\u627e\u5230\u4e24\u4e2a\u6216\u591a\u4e2a\u96c6\u5408\u7684\u5171\u540c\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>2.2 \u4f7f\u7528\u96c6\u5408\u4ea4\u96c6\u5339\u914d\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u96c6\u5408\u4ea4\u96c6\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def match_strings(string1, string2, string3):<\/p>\n<p>    set1 = set(string1)<\/p>\n<p>    set2 = set(string2)<\/p>\n<p>    set3 = set(string3)<\/p>\n<p>    intersection = set1 &amp; set2 &amp; set3<\/p>\n<p>    return intersection<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>string1 = &#39;hello&#39;<\/p>\n<p>string2 = &#39;world&#39;<\/p>\n<p>string3 = &#39;hold&#39;<\/p>\n<p>common_elements = match_strings(string1, string2, string3)<\/p>\n<p>if common_elements:<\/p>\n<p>    print(&#39;\u5171\u540c\u5143\u7d20:&#39;, common_elements)<\/p>\n<p>else:<\/p>\n<p>    print(&#39;\u6ca1\u6709\u5171\u540c\u5143\u7d20&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u5d4c\u5957\u5faa\u73af<\/h3>\n<\/p>\n<p><p>\u5d4c\u5957\u5faa\u73af\u662f\u4e00\u79cd\u76f4\u63a5\u7684\u65b9\u6cd5\uff0c\u7528\u4e8e\u6bd4\u8f83\u591a\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u53ef\u80fd\u4e0d\u5982\u524d\u4e24\u79cd\u65b9\u6cd5\u9ad8\u6548\uff0c\u4f46\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4ecd\u7136\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h4>3.1 \u57fa\u672c\u6982\u5ff5<\/h4>\n<\/p>\n<p><p>\u5d4c\u5957\u5faa\u73af\u662f\u6307\u5728\u4e00\u4e2a\u5faa\u73af\u4f53\u5185\u5d4c\u5957\u53e6\u4e00\u4e2a\u5faa\u73af\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u904d\u5386\u591a\u4e2a\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n<\/p>\n<p><h4>3.2 \u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u5339\u914d\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def match_strings(string1, string2, string3):<\/p>\n<p>    common_elements = set()<\/p>\n<p>    for char1 in string1:<\/p>\n<p>        for char2 in string2:<\/p>\n<p>            for char3 in string3:<\/p>\n<p>                if char1 == char2 == char3:<\/p>\n<p>                    common_elements.add(char1)<\/p>\n<p>    return common_elements<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>string1 = &#39;hello&#39;<\/p>\n<p>string2 = &#39;world&#39;<\/p>\n<p>string3 = &#39;hold&#39;<\/p>\n<p>common_elements = match_strings(string1, string2, string3)<\/p>\n<p>if common_elements:<\/p>\n<p>    print(&#39;\u5171\u540c\u5143\u7d20:&#39;, common_elements)<\/p>\n<p>else:<\/p>\n<p>    print(&#39;\u6ca1\u6709\u5171\u540c\u5143\u7d20&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Python\u5185\u7f6e\u5e93<\/h3>\n<\/p>\n<p><p>Python\u5185\u7f6e\u5e93\u63d0\u4f9b\u4e86\u8bb8\u591a\u65b9\u4fbf\u7684\u5de5\u5177\uff0c\u4f7f\u5f97\u5b57\u7b26\u4e32\u5339\u914d\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u548c\u9ad8\u6548\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u5e93\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>4.1 \u4f7f\u7528<code>collections.Counter<\/code><\/h4>\n<\/p>\n<p><p><code>collections.Counter<\/code>\u662f\u4e00\u4e2a\u5b57\u5178\u5b50\u7c7b\uff0c\u7528\u4e8e\u8ba1\u6570\u53ef\u54c8\u5e0c\u5bf9\u8c61\u3002\u5b83\u53ef\u4ee5\u8f7b\u677e\u5730\u7edf\u8ba1\u5b57\u7b26\u4e32\u4e2d\u7684\u5b57\u7b26\u51fa\u73b0\u6b21\u6570\uff0c\u5e76\u627e\u5230\u5171\u540c\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>4.2 \u4f7f\u7528<code>difflib.SequenceMatcher<\/code><\/h4>\n<\/p>\n<p><p><code>difflib.SequenceMatcher<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u5e8f\u5217\u5339\u914d\u7684\u7c7b\uff0c\u53ef\u4ee5\u7528\u4e8e\u6bd4\u8f83\u5b57\u7b26\u4e32\u4e4b\u95f4\u7684\u76f8\u4f3c\u5ea6\u3002<\/p>\n<\/p>\n<p><h4>4.3 \u4f7f\u7528<code>re<\/code>\u6a21\u5757\u7684\u9ad8\u7ea7\u529f\u80fd<\/h4>\n<\/p>\n<p><p><code>re<\/code>\u6a21\u5757\u4e0d\u4ec5\u652f\u6301\u57fa\u672c\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\uff0c\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u7ea7\u529f\u80fd\uff0c\u5982\u641c\u7d22\u3001\u66ff\u6362\u548c\u5206\u5272\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7efc\u5408\u5e94\u7528<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u7efc\u5408\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u6765\u89e3\u51b3\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>from collections import Counter<\/p>\n<p>def match_strings(pattern, string1, string2, string3):<\/p>\n<p>    # \u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d<\/p>\n<p>    if not (re.match(pattern, string1) and re.match(pattern, string2) and re.match(pattern, string3)):<\/p>\n<p>        return &#39;\u6709\u5b57\u7b26\u4e32\u4e0d\u5339\u914d\u8be5\u6a21\u5f0f&#39;<\/p>\n<p>    # \u4f7f\u7528\u96c6\u5408\u4ea4\u96c6\u5339\u914d<\/p>\n<p>    set1 = set(string1)<\/p>\n<p>    set2 = set(string2)<\/p>\n<p>    set3 = set(string3)<\/p>\n<p>    common_elements = set1 &amp; set2 &amp; set3<\/p>\n<p>    if not common_elements:<\/p>\n<p>        return &#39;\u6ca1\u6709\u5171\u540c\u5143\u7d20&#39;<\/p>\n<p>    # \u4f7f\u7528Counter\u7edf\u8ba1\u5b57\u7b26\u51fa\u73b0\u6b21\u6570<\/p>\n<p>    counter1 = Counter(string1)<\/p>\n<p>    counter2 = Counter(string2)<\/p>\n<p>    counter3 = Counter(string3)<\/p>\n<p>    common_counter = counter1 &amp; counter2 &amp; counter3<\/p>\n<p>    if not common_counter:<\/p>\n<p>        return &#39;\u6ca1\u6709\u5171\u540c\u5b57\u7b26&#39;<\/p>\n<p>    return &#39;\u6240\u6709\u5b57\u7b26\u4e32\u90fd\u5339\u914d\u8be5\u6a21\u5f0f\uff0c\u4e14\u6709\u5171\u540c\u5143\u7d20\u548c\u5b57\u7b26&#39;<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>pattern = r&#39;^[a-z]+$&#39;  # \u5339\u914d\u53ea\u5305\u542b\u5c0f\u5199\u5b57\u6bcd\u7684\u5b57\u7b26\u4e32<\/p>\n<p>string1 = &#39;hello&#39;<\/p>\n<p>string2 = &#39;world&#39;<\/p>\n<p>string3 = &#39;hold&#39;<\/p>\n<p>result = match_strings(pattern, string1, string2, string3)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u7ed3\u5408\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u96c6\u5408\u4ea4\u96c6\u548c<code>Counter<\/code>\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u548c\u7cbe\u786e\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002\u8fd9\u79cd\u7efc\u5408\u5e94\u7528\u65b9\u6cd5\u53ef\u4ee5\u66f4\u597d\u5730\u5e94\u5bf9\u5b9e\u9645\u95ee\u9898\uff0c\u63d0\u4f9b\u66f4\u5f3a\u5927\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u540c\u65f6\u5339\u914d\u591a\u4e2a\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re<\/code>\u6a21\u5757\u4e2d\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u529f\u80fd\u6765\u5339\u914d\u591a\u4e2a\u5b57\u7b26\u4e32\u3002\u901a\u8fc7\u4f7f\u7528<code>|<\/code>\u8fd0\u7b97\u7b26\uff0c\u53ef\u4ee5\u5728\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u6307\u5b9a\u591a\u4e2a\u5339\u914d\u9879\u3002\u4f8b\u5982\uff0c<code>re.search(r&#39;string1|string2|string3&#39;, text)<\/code>\u53ef\u4ee5\u7528\u4e8e\u5339\u914d\u6587\u672c\u4e2d\u662f\u5426\u5305\u542b\u8fd9\u4e09\u79cd\u5b57\u7b26\u4e32\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u6765\u5339\u914d\u591a\u4e2a\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\u3002\u53ef\u4ee5\u5c06\u9700\u8981\u5339\u914d\u7684\u5b57\u7b26\u4e32\u653e\u5165\u4e00\u4e2a\u5217\u8868\u4e2d\uff0c\u7136\u540e\u5229\u7528Python\u7684\u5b57\u7b26\u4e32\u65b9\u6cd5\u6216\u8005\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u5339\u914d\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u7ed3\u5408<code>in<\/code>\u5173\u952e\u5b57\uff0c\u53ef\u4ee5\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u5728\u5217\u8868\u4e2d\u7684\u4efb\u610f\u5b57\u7b26\u4e32\uff1a<code>any(sub in text for sub in string_list)<\/code>\u3002<\/p>\n<p><strong>\u5982\u4f55\u63d0\u9ad8\u5339\u914d\u591a\u4e2a\u5b57\u7b26\u4e32\u7684\u6548\u7387\uff1f<\/strong><br \/>\u8981\u63d0\u9ad8\u5339\u914d\u6548\u7387\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u6765\u5b58\u50a8\u5f85\u5339\u914d\u7684\u5b57\u7b26\u4e32\u3002\u96c6\u5408\u7684\u67e5\u627e\u901f\u5ea6\u901a\u5e38\u6bd4\u5217\u8868\u5feb\u3002\u6b64\u5916\uff0c\u5bf9\u4e8e\u5927\u6587\u672c\u6216\u5927\u91cf\u5b57\u7b26\u4e32\u7684\u5339\u914d\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528<code>re.compile()<\/code>\u6765\u7f16\u8bd1\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u4ece\u800c\u51cf\u5c11\u6bcf\u6b21\u5339\u914d\u65f6\u7684\u7f16\u8bd1\u5f00\u9500\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5339\u914d\u4e09\u4e2a\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u4e3b\u8981\u5305\u62ec\uff1a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u96c6\u5408\u4ea4\u96c6\u3001\u5d4c\u5957\u5faa\u73af\u3001\u4ee5\u53ca\u4f7f\u7528Python\u7684\u5185\u7f6e\u5e93\u7b49\u3002\u5728\u8fd9 [&hellip;]","protected":false},"author":3,"featured_media":1141937,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1141933"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1141933"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1141933\/revisions"}],"predecessor-version":[{"id":1141940,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1141933\/revisions\/1141940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1141937"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1141933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1141933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1141933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}