{"id":174742,"date":"2024-05-08T18:37:10","date_gmt":"2024-05-08T10:37:10","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/174742.html"},"modified":"2024-05-08T18:37:13","modified_gmt":"2024-05-08T10:37:13","slug":"%e5%85%b3%e4%ba%8epython%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f-%e8%af%a5%e5%a6%82%e4%bd%95%e7%90%86%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/174742.html","title":{"rendered":"\u5173\u4e8epython\u6b63\u5219\u8868\u8fbe\u5f0f.* \u8be5\u5982\u4f55\u7406\u89e3"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27052408\/0f17366e-fb8a-4519-8e4d-27a86520b5e1.webp\" alt=\"\u5173\u4e8epython\u6b63\u5219\u8868\u8fbe\u5f0f.* \u8be5\u5982\u4f55\u7406\u89e3\" \/><\/p>\n<p><p><strong>Python\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684<code>.*<\/code>\u8868\u793a\u5339\u914d\u4efb\u610f\u6570\u91cf\u7684\u9664\u6362\u884c\u7b26\u4e4b\u5916\u7684\u5b57\u7b26\u3002<\/strong> \u8fd9\u662f\u56e0\u4e3a<code>.<\/code>\u5728\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u610f\u5473\u7740\u201c\u5339\u914d\u9664\u6362\u884c\u7b26\u4ee5\u5916\u7684\u4efb\u610f\u5355\u4e2a\u5b57\u7b26\u201d\uff0c\u800c<code>*<\/code>\u5219\u8868\u793a\u201c\u5339\u914d\u524d\u4e00\u4e2a\u5b57\u7b26\u96f6\u6b21\u6216\u591a\u6b21\u201d\u3002\u7ed3\u5408\u8d77\u6765\uff0c<code>.*<\/code>\u53ef\u4ee5\u7528\u6765\u5339\u914d\u4ece\u5f53\u524d\u4f4d\u7f6e\u5f00\u59cb\u5230\u8be5\u884c\u672b\u5c3e\u7684\u6240\u6709\u5b57\u7b26\u3002\u6211\u4eec\u53ef\u4ee5\u5c55\u5f00\u8be6\u7ec6\u63cf\u8ff0<code>.<\/code>\u548c<code>*<\/code>\uff0c\u8fd9\u4e24\u4e2a\u642d\u914d\u4f7f\u7528\u63d0\u4f9b\u4e86\u5728\u6587\u672c\u5339\u914d\u548c\u6570\u636e\u63d0\u53d6\u4e2d\u6781\u9ad8\u7684\u7075\u6d3b\u6027\u4e0e\u5f3a\u5927\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u7406\u89e3\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684\u70b9\uff08.\uff09<\/p>\n<\/p>\n<p><p><strong>\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684\u70b9\uff08<code>.<\/code>\uff09\u662f\u4e00\u4e2a\u7279\u6b8a\u5b57\u7b26<\/strong>\uff0c\u4f5c\u4e3a\u4e00\u4e2a\u5143\u5b57\u7b26\uff0c\u5b83\u4ee3\u8868\u4e86\u9664\u6362\u884c\u7b26\uff08<code>\\n<\/code>\uff09\u4e4b\u5916\u7684\u4efb\u4f55\u5355\u4e2a\u5b57\u7b26\u3002\u4e3e\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5b57\u7b26\u4e32&quot;cat&quot;\uff0c\u5982\u679c\u6211\u4eec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<code>c.t<\/code>\u6765\u5339\u914d\u5b83\uff0c\u90a3\u4e48\u8fd9\u4e2a\u8868\u8fbe\u5f0f\u5c06\u4e0e&quot;cat&quot;\u5339\u914d\uff0c\u56e0\u4e3a<code>.<\/code>\u4ee3\u8868\u4e86\u4efb\u4f55\u5355\u4e2a\u5b57\u7b26\uff0c\u53ef\u4ee5\u5728\u8fd9\u91cc\u4ee3\u8868&quot;a&quot;\u3002\u5728\u4e0d\u540c\u73af\u5883\u4e0b\uff0c\u70b9\u5b57\u7b26\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\uff0c\u4f8b\u5982\u5728DOTALL\u6a21\u5f0f\u4e0b\uff08\u5728Python\u4e2d\u901a\u8fc7\u6807\u5fd7<code>re.DOTALL<\/code>\u6216<code>re.S<\/code>\u8bbe\u7f6e\uff09\uff0c\u70b9\uff08<code>.<\/code>\uff09\u53ef\u5339\u914d\u5305\u62ec\u6362\u884c\u7b26\u5728\u5185\u7684\u4efb\u610f\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u7406\u89e3\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684\u661f\u53f7\uff08*\uff09<\/p>\n<\/p>\n<p><p><strong>\u5728\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\uff0c\u661f\u53f7\uff08<code>*<\/code>\uff09\u662f\u53e6\u4e00\u4e2a\u91cd\u8981\u7684\u5143\u5b57\u7b26<\/strong>\uff0c\u8868\u793a\u524d\u4e00\u4e2a\u5b57\u7b26\u7684\u96f6\u6b21\u6216\u591a\u6b21\u5339\u914d\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u661f\u53f7\u544a\u8bc9\u6b63\u5219\u8868\u8fbe\u5f0f\u5f15\u64ce\u5339\u914d\u5c3d\u53ef\u80fd\u591a\u7684\u524d\u4e00\u4e2a\u5b57\u7b26\u3002\u4f8b\u5982\uff0c<code>a*<\/code>\u5c06\u5339\u914d\u7a7a\u5b57\u7b26\u4e32\u3001&quot;a&quot;\u3001&quot;aa&quot;\u3001&quot;aaa&quot;\u7b49\u7b49\u3002\u8fd9\u662f\u56e0\u4e3a\u661f\u53f7\u5141\u8bb8\u524d\u4e00\u4e2a\u5b57\u7b26\u4e0d\u51fa\u73b0\u6216\u51fa\u73b0\u591a\u6b21\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7ec4\u5408\u4f7f\u7528\u70b9\u548c\u661f\u53f7<\/p>\n<\/p>\n<p><p>\u5c06\u70b9\u548c\u661f\u53f7\u7ed3\u5408\u8d77\u6765\u4f7f\u7528\uff08<code>.*<\/code>\uff09\uff0c\u6211\u4eec\u53ef\u4ee5\u5339\u914d\u4efb\u610f\u957f\u5ea6\u7684\u5b57\u7b26\u5e8f\u5217\uff0c\u56e0\u4e3a<code>.<\/code>\u5339\u914d\u4efb\u610f\u5355\u4e2a\u5b57\u7b26\uff0c<code>*<\/code>\u53c8\u5141\u8bb8\u8fd9\u4e2a\u6a21\u5f0f\u91cd\u590d\u4efb\u610f\u6b21\u6570\u3002\u8fd9\u79cd\u7ec4\u5408\u5728\u89e3\u6790\u6587\u672c\u65f6\u975e\u5e38\u6709\u7528\uff0c\u6bd4\u5982\u5728\u641c\u7d22\u4e2d\u8df3\u8fc7\u4e0d\u91cd\u8981\u7684\u5185\u5bb9\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u8d2a\u5a6a\u4e0e\u975e\u8d2a\u5a6a<\/p>\n<\/p>\n<p><p>\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c<code>.*<\/code>\u662f<strong>\u8d2a\u5a6a\u5339\u914d<\/strong>\uff0c\u5b83\u4f1a\u5c3d\u53ef\u80fd\u591a\u5730\u5339\u914d\u5b57\u7b26\u3002\u4f8b\u5982\uff0c\u5728\u5b57\u7b26\u4e32&quot;abc&quot;\u4e2d\u4f7f\u7528\u8868\u8fbe\u5f0f<code>a.*c<\/code>\u4f1a\u5339\u914d\u6574\u4e2a\u5b57\u7b26\u4e32&quot;abc&quot;\u3002\u7136\u800c\uff0c\u6709\u65f6\u6211\u4eec\u9700\u8981<strong>\u975e\u8d2a\u5a6a\u5339\u914d<\/strong>\u6216\u6700\u5c0f\u5339\u914d\uff08<code>*?<\/code>\uff09\uff0c\u5b83\u4f1a\u5c3d\u53ef\u80fd\u5c11\u7684\u5339\u914d\u5b57\u7b26\u3002\u4f7f\u7528\u4e4b\u524d\u7684\u4f8b\u5b50\uff0c\u5982\u679c\u6539\u7528<code>a.*?c<\/code>\uff0c\u90a3\u4e48\u5728\u5b57\u7b26\u4e32&quot;abcc&quot;\u4e2d\uff0c\u5b83\u53ea\u4f1a\u5339\u914d\u5230&quot;abc&quot;\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<p><p>\u5728\u8bb8\u591a\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u4f7f\u7528<code>.*<\/code>\u6765\u8fdb\u884c\u6587\u672c\u6570\u636e\u7684\u63d0\u53d6\u3002\u6bd4\u5982\uff0c\u5982\u679c\u6211\u4eec\u60f3\u4ece\u4e00\u6bb5\u6587\u672c\u4e2d\u627e\u51fa\u6240\u6709\u62ec\u53f7\u5185\u7684\u5185\u5bb9\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>\\(.\u2217\\)<\/code>\u4f5c\u4e3a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5b83\u5c06\u5339\u914d\u4efb\u4f55\u88ab\u62ec\u53f7\u5305\u56f4\u7684\u5185\u5bb9\u3002\u5f53\u7136\uff0c\u5982\u679c\u62ec\u53f7\u5d4c\u5957\u6216\u591a\u884c\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u590d\u6742\u7684\u8868\u8fbe\u5f0f\u6216\u4f7f\u7528\u975e\u8d2a\u5a6a\u5339\u914d\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u6ce8\u610f\u4e8b\u9879\u548c\u5c40\u9650\u6027<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528<code>.*<\/code>\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5176\u5339\u914d\u8303\u56f4\u53ef\u80fd\u8d85\u51fa\u9884\u671f\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5305\u542b\u6362\u884c\u7684\u591a\u884c\u5b57\u7b26\u4e32\u65f6\u8981\u5c0f\u5fc3\u3002<strong>\u4f7f\u7528\u70b9\u661f\u5339\u914d\u65f6\uff0c\u6211\u4eec\u901a\u5e38\u7ed3\u5408\u951a\u70b9\u6216\u6307\u5b9a\u6a21\u5f0f\u7684\u5b57\u7b26\u7c7b<code>[...]<\/code>\u6765\u9650\u5236\u5339\u914d\u8303\u56f4\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5c0f\u7ed3<\/p>\n<\/p>\n<p><p><strong><code>.*<\/code>\u5728Python\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u7ec4\u5408<\/strong>\uff0c\u80fd\u591f\u7528\u6765\u8fdb\u884c\u5e7f\u6cdb\u7684\u6a21\u5f0f\u5339\u914d\u3002\u5b83\u7684\u4f7f\u7528\u9700\u8981\u7ed3\u5408\u5bf9\u6b63\u5219\u8868\u8fbe\u5f0f\u5de5\u4f5c\u539f\u7406\u7684\u6df1\u5165\u7406\u89e3\uff0c\u5305\u62ec\u8d2a\u5a6a\u4e0e\u975e\u8d2a\u5a6a\u5339\u914d\u7684\u5dee\u5f02\u4e0e\u7279\u70b9\uff0c\u4ee5\u53ca\u5982\u4f55\u6839\u636e\u5b9e\u9645\u9700\u6c42\u7ed3\u5408\u5176\u4ed6\u6b63\u5219\u8868\u8fbe\u5f0f\u5143\u5b57\u7b26\u548c\u4fee\u9970\u7b26\u4f7f\u7528\u3002\u6b63\u786e\u5e94\u7528\u53ef\u4ee5\u6781\u5927\u5730\u589e\u52a0\u6587\u672c\u5904\u7406\u7684\u6548\u7387\u548c\u7075\u6d3b\u6027\uff0c\u4f46\u5982\u679c\u4f7f\u7528\u4e0d\u5f53\uff0c\u4e5f\u53ef\u80fd\u5e26\u6765\u9519\u8bef\u5339\u914d\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. Python\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4ec0\u4e48\uff1f\u5982\u4f55\u4f7f\u7528\uff1f<\/strong><\/p>\n<p>Python\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u6587\u672c\u5339\u914d\u5de5\u5177\uff0c\u7528\u4e8e\u5728\u5b57\u7b26\u4e32\u4e2d\u67e5\u627e\u3001\u66ff\u6362\u548c\u9a8c\u8bc1\u7279\u5b9a\u7684\u6a21\u5f0f\u3002\u901a\u8fc7\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u4f60\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5904\u7406\u6587\u672c\u6570\u636e\uff0c\u4f8b\u5982\u63d0\u53d6\u7f51\u9875\u4e2d\u7684\u94fe\u63a5\u3001\u9a8c\u8bc1\u90ae\u7bb1\u5730\u5740\u7b49\u3002<\/p>\n<p>\u8981\u4f7f\u7528Python\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u9996\u5148\u4f60\u9700\u8981\u5bfc\u5165re\u6a21\u5757\u3002\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528re\u6a21\u5757\u4e2d\u7684\u5404\u79cd\u65b9\u6cd5\uff0c\u5982re.search()\u3001re.findall()\u7b49\uff0c\u6765\u5339\u914d\u3001\u67e5\u627e\u3001\u66ff\u6362\u548c\u9a8c\u8bc1\u5b57\u7b26\u4e32\u4e2d\u7684\u6a21\u5f0f\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5b66\u4e60\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u89c4\u5219\uff0c\u5e76\u7ed3\u5408\u5b9e\u9645\u9700\u6c42\uff0c\u7f16\u5199\u76f8\u5e94\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5b9e\u73b0\u529f\u80fd\u3002<\/p>\n<p><strong>2. Python\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u6709\u54ea\u4e9b\u7279\u70b9\uff1f<\/strong><\/p>\n<p>Python\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8bed\u6cd5\u76f8\u5bf9\u7b80\u6d01\u800c\u5f3a\u5927\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u8bed\u6cd5\u7279\u70b9\uff1a<\/p>\n<ul>\n<li>\u5b57\u7b26\u5339\u914d\uff1a\u53ef\u4ee5\u4f7f\u7528\u666e\u901a\u5b57\u7b26\u6765\u5339\u914d\u76f8\u5e94\u7684\u6587\u672c\u5185\u5bb9\u3002<\/li>\n<li>\u5143\u5b57\u7b26\uff1a\u4f7f\u7528\u5143\u5b57\u7b26\u53ef\u4ee5\u5339\u914d\u7279\u5b9a\u7684\u5b57\u7b26\u96c6\u5408\u6216\u7279\u5b9a\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u91cd\u590d\u5339\u914d\uff1a\u4f7f\u7528\u91cf\u8bcd\u53ef\u4ee5\u6307\u5b9a\u67d0\u4e2a\u6a21\u5f0f\u7684\u91cd\u590d\u6b21\u6570\u6216\u91cd\u590d\u8303\u56f4\u3002<\/li>\n<li>\u5206\u7ec4\u548c\u6355\u83b7\uff1a\u53ef\u4ee5\u4f7f\u7528\u62ec\u53f7\u5c06\u6a21\u5f0f\u8fdb\u884c\u5206\u7ec4\uff0c\u5e76\u5c06\u5206\u7ec4\u7684\u5185\u5bb9\u6355\u83b7\u4e3a\u4e00\u4e2a\u6574\u4f53\u3002<\/li>\n<li>\u8d2a\u5a6a\u548c\u975e\u8d2a\u5a6a\u5339\u914d\uff1a\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u8d2a\u5a6a\u5339\u914d\uff0c\u4f1a\u5c3d\u53ef\u80fd\u591a\u5730\u5339\u914d\u6587\u672c\u5185\u5bb9\uff0c\u53ef\u4ee5\u4f7f\u7528?\u6765\u8f6c\u4e3a\u975e\u8d2a\u5a6a\u5339\u914d\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u591a\u884c\u6587\u672c\u4e2d\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\uff1f<\/strong><\/p>\n<p>\u5f53\u9700\u8981\u5904\u7406\u591a\u884c\u6587\u672c\u4e2d\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528re\u6a21\u5757\u4e2d\u7684re.MULTILINE\u6807\u5fd7\u6765\u542f\u7528\u591a\u884c\u6a21\u5f0f\u3002\u591a\u884c\u6a21\u5f0f\u4e0b\uff0c\u5339\u914d\u7684\u89c4\u5219\u5c06\u5e94\u7528\u4e8e\u6bcf\u4e00\u884c\u7684\u6587\u672c\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5339\u914d\u4ee5&quot;Hello&quot;\u5f00\u5934\u7684\u6bcf\u4e00\u884c\u6587\u672c\uff0c\u53ef\u4ee5\u4f7f\u7528re.MULTILINE\u6807\u5fd7\uff0c\u5e76\u5728\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u5f00\u5934\u52a0\u4e0a^\u7b26\u53f7\uff0c\u8868\u793a\u4ece\u884c\u7684\u5f00\u5934\u5f00\u59cb\u5339\u914d\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code>import re\n\ntext = &#039;&#039;&#039;\nHello world\nHello python\nI&#039;m learning Python\n&#039;&#039;&#039;\n\npattern = r&#039;^Hello.*$&#039;\nmatches = re.finditer(pattern, text, flags=re.MULTILINE)\n\nfor match in matches:\n    print(match.group())\n<\/code><\/pre>\n<p>\u5728\u4e0a\u8ff0\u4f8b\u5b50\u4e2d\uff0c\u4f7f\u7528re.MULTILINE\u6807\u5fd7\u540e\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f^Hello.*$\u5c06\u5339\u914d\u6bcf\u4e00\u884c\u4ee5&quot;Hello&quot;\u5f00\u5934\u7684\u6587\u672c\u884c\uff0c\u5e76\u5c06\u5176\u6253\u5370\u51fa\u6765\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684.*\u8868\u793a\u5339\u914d\u4efb\u610f\u6570\u91cf\u7684\u9664\u6362\u884c\u7b26\u4e4b\u5916\u7684\u5b57\u7b26\u3002 \u8fd9\u662f\u56e0\u4e3a.\u5728\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u610f\u5473\u7740\u201c\u5339\u914d\u9664\u6362 [&hellip;]","protected":false},"author":3,"featured_media":174747,"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\/174742"}],"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=174742"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/174742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/174747"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=174742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=174742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=174742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}