{"id":1089949,"date":"2025-01-08T13:58:04","date_gmt":"2025-01-08T05:58:04","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1089949.html"},"modified":"2025-01-08T13:58:06","modified_gmt":"2025-01-08T05:58:06","slug":"python%e5%a6%82%e4%bd%95%e5%b0%86%e6%b1%89%e5%ad%97%e5%92%8c%e6%95%b0%e5%ad%97%e5%88%86%e5%bc%80-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1089949.html","title":{"rendered":"python\u5982\u4f55\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24202637\/b7c57006-8935-4869-afbd-981ee1479027.webp\" alt=\"python\u5982\u4f55\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\" \/><\/p>\n<p><p> \u5728Python\u4e2d\uff0c\u6709\u51e0\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\u3002<strong>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32<\/strong>\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5339\u914d\u6c49\u5b57\u548c\u6570\u5b57\uff0c\u8fd9\u662f\u6700\u7b80\u6d01\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u5339\u914d\uff0c\u5e76\u63d0\u4f9b\u4e00\u4e9b\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\uff08Regular Expression\uff09\u662f\u5904\u7406\u5b57\u7b26\u4e32\u7684\u5f3a\u5927\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u6211\u4eec\u901a\u8fc7\u6a21\u5f0f\u5339\u914d\u6765\u8bc6\u522b\u548c\u63d0\u53d6\u7279\u5b9a\u7684\u5b57\u7b26\u5e8f\u5217\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\u3001\u5bfc\u5165re\u6a21\u5757\u5e76\u7f16\u5199\u6b63\u5219\u8868\u8fbe\u5f0f<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5bfc\u5165<code>re<\/code>\u6a21\u5757\uff0c\u5e76\u7f16\u5199\u5339\u914d\u6c49\u5b57\u548c\u6570\u5b57\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u3002\u6c49\u5b57\u7684Unicode\u8303\u56f4\u662f<code>[\\u4e00-\\u9fa5]<\/code>\uff0c\u800c\u6570\u5b57\u53ef\u4ee5\u7528<code>\\d<\/code>\u6765\u5339\u914d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>text = &quot;\u5f20\u4e09123\u674e\u56db456&quot;<\/p>\n<h2><strong>\u5339\u914d\u6c49\u5b57<\/strong><\/h2>\n<p>chinese_pattern = re.compile(r&#39;[\\u4e00-\\u9fa5]+&#39;)<\/p>\n<h2><strong>\u5339\u914d\u6570\u5b57<\/strong><\/h2>\n<p>number_pattern = re.compile(r&#39;\\d+&#39;)<\/p>\n<p>chinese_characters = chinese_pattern.findall(text)<\/p>\n<p>numbers = number_pattern.findall(text)<\/p>\n<p>print(&quot;\u6c49\u5b57:&quot;, chinese_characters)<\/p>\n<p>print(&quot;\u6570\u5b57:&quot;, numbers)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>re.compile<\/code>\u7f16\u8bd1\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5e76\u4f7f\u7528<code>findall<\/code>\u65b9\u6cd5\u67e5\u627e\u6240\u6709\u5339\u914d\u9879\u3002<code>chinese_pattern.findall(text)<\/code>\u5c06\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u6240\u6709\u6c49\u5b57\u7684\u5217\u8868\uff0c<code>number_pattern.findall(text)<\/code>\u5c06\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u6240\u6709\u6570\u5b57\u7684\u5217\u8868\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u8be6\u7ec6\u89e3\u91ca\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u5de5\u4f5c\u539f\u7406<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u4e2d\u7684<code>[\\u4e00-\\u9fa5]<\/code>\u5339\u914d\u6240\u6709\u6c49\u5b57\u5b57\u7b26\uff0c\u56e0\u4e3a\u6c49\u5b57\u7684Unicode\u8303\u56f4\u662f\u4ece<code>\\u4e00<\/code>\u5230<code>\\u9fa5<\/code>\u3002<code>\\d<\/code>\u5339\u914d\u4efb\u4f55\u6570\u5b57\u5b57\u7b26\u3002\u901a\u8fc7\u4f7f\u7528<code>+<\/code>\uff0c\u6211\u4eec\u53ef\u4ee5\u5339\u914d\u4e00\u4e2a\u6216\u591a\u4e2a\u8fde\u7eed\u7684\u6c49\u5b57\u6216\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5b57\u7b26\u4e32\u7684\u65b9\u6cd5\u6765\u5206\u79bb\u6c49\u5b57\u548c\u6570\u5b57\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u5904\u7406\u8f83\u7b80\u5355\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528isnumeric()\u548cisalpha()<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u4f7f\u7528<code>isnumeric()<\/code>\u65b9\u6cd5\u68c0\u67e5\u5b57\u7b26\u662f\u5426\u662f\u6570\u5b57\uff0c\u4f7f\u7528<code>isalpha()<\/code>\u65b9\u6cd5\u68c0\u67e5\u5b57\u7b26\u662f\u5426\u662f\u5b57\u6bcd\uff08\u5305\u62ec\u6c49\u5b57\uff09\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;\u5f20\u4e09123\u674e\u56db456&quot;<\/p>\n<p>chinese_characters = []<\/p>\n<p>numbers = []<\/p>\n<p>for char in text:<\/p>\n<p>    if char.isnumeric():<\/p>\n<p>        numbers.append(char)<\/p>\n<p>    elif char.isalpha() and &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fa5&#39;:<\/p>\n<p>        chinese_characters.append(char)<\/p>\n<p>print(&quot;\u6c49\u5b57:&quot;, &#39;&#39;.join(chinese_characters))<\/p>\n<p>print(&quot;\u6570\u5b57:&quot;, &#39;&#39;.join(numbers))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u6839\u636e\u5b57\u7b26\u7c7b\u578b\u5c06\u5176\u6dfb\u52a0\u5230\u76f8\u5e94\u7684\u5217\u8868\u4e2d\u3002\u6700\u540e\uff0c\u6211\u4eec\u4f7f\u7528<code>join<\/code>\u65b9\u6cd5\u5c06\u5217\u8868\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32\uff0c\u5e76\u6839\u636e\u5b57\u7b26\u7684Unicode\u8303\u56f4\u5c06\u5176\u5206\u7c7b\u4e3a\u6c49\u5b57\u6216\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u904d\u5386\u5b57\u7b26\u4e32\u5e76\u5206\u7c7b<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32\uff0c\u5e76\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u7684Unicode\u503c\u6765\u5206\u7c7b\u6c49\u5b57\u548c\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;\u5f20\u4e09123\u674e\u56db456&quot;<\/p>\n<p>chinese_characters = []<\/p>\n<p>numbers = []<\/p>\n<p>for char in text:<\/p>\n<p>    if &#39;0&#39; &lt;= char &lt;= &#39;9&#39;:<\/p>\n<p>        numbers.append(char)<\/p>\n<p>    elif &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fa5&#39;:<\/p>\n<p>        chinese_characters.append(char)<\/p>\n<p>print(&quot;\u6c49\u5b57:&quot;, &#39;&#39;.join(chinese_characters))<\/p>\n<p>print(&quot;\u6570\u5b57:&quot;, &#39;&#39;.join(numbers))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32\uff0c\u5e76\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u7684Unicode\u503c\u5c06\u5176\u5206\u7c7b\u4e3a\u6c49\u5b57\u6216\u6570\u5b57\u3002<code>&#39;0&#39; &lt;= char &lt;= &#39;9&#39;<\/code>\u68c0\u67e5\u5b57\u7b26\u662f\u5426\u662f\u6570\u5b57\uff0c<code>\\u4e00 &lt;= char &lt;= \\u9fa5<\/code>\u68c0\u67e5\u5b57\u7b26\u662f\u5426\u662f\u6c49\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\u3002<strong>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32<\/strong>\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u6700\u7b80\u6d01\u548c\u5f3a\u5927\u7684\u65b9\u6cd5\uff0c\u9002\u5408\u5904\u7406\u590d\u6742\u7684\u6a21\u5f0f\u5339\u914d\u3002\u5b57\u7b26\u4e32\u65b9\u6cd5\u548c\u5faa\u73af\u904d\u5386\u9002\u5408\u5904\u7406\u8f83\u7b80\u5355\u7684\u60c5\u51b5\u3002\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u9700\u6c42\u548c\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h4>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\u6765\u5339\u914d\u548c\u63d0\u53d6\u7279\u5b9a\u7684\u5b57\u7b26\u5e8f\u5217\u3002\u901a\u8fc7\u7f16\u5199\u9002\u5f53\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\u3002<\/p>\n<\/p>\n<p><h4>2\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5<\/h4>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u65b9\u6cd5\u5982<code>isnumeric()<\/code>\u548c<code>isalpha()<\/code>\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u7684\u65b9\u6cd5\u6765\u68c0\u67e5\u5b57\u7b26\u7c7b\u578b\u3002\u901a\u8fc7\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u6839\u636e\u5b57\u7b26\u7c7b\u578b\u5c06\u5176\u5206\u7c7b\u4e3a\u6c49\u5b57\u6216\u6570\u5b57\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9e\u73b0\u76f8\u540c\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32\u5e76\u68c0\u67e5\u5b57\u7b26\u7684Unicode\u503c\u662f\u4e00\u79cd\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u7684Unicode\u503c\uff0c\u6211\u4eec\u53ef\u4ee5\u5206\u7c7b\u6c49\u5b57\u548c\u6570\u5b57\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u5408\u5904\u7406\u8f83\u7b80\u5355\u7684\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0c\u4e0d\u540c\u7684\u65b9\u6cd5\u6709\u4e0d\u540c\u7684\u4f18\u7f3a\u70b9\u3002\u6b63\u5219\u8868\u8fbe\u5f0f\u9002\u5408\u5904\u7406\u590d\u6742\u7684\u6a21\u5f0f\u5339\u914d\uff0c\u800c\u5b57\u7b26\u4e32\u65b9\u6cd5\u548c\u5faa\u73af\u904d\u5386\u9002\u5408\u5904\u7406\u8f83\u7b80\u5355\u7684\u60c5\u51b5\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\uff0c\u5e76\u6839\u636e\u9700\u8981\u8fdb\u884c\u8fdb\u4e00\u6b65\u5904\u7406\u3002\u65e0\u8bba\u662f\u5904\u7406\u6587\u672c\u6570\u636e\u3001\u89e3\u6790\u7528\u6237\u8f93\u5165\uff0c\u8fd8\u662f\u5b9e\u73b0\u5176\u4ed6\u529f\u80fd\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u90fd\u80fd\u63d0\u4f9b\u6709\u6548\u7684\u89e3\u51b3\u65b9\u6848\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8bc6\u522b\u5e76\u5206\u79bb\u6c49\u5b57\u548c\u6570\u5b57\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5757<code>re<\/code>\u6765\u8bc6\u522b\u6c49\u5b57\u548c\u6570\u5b57\u3002\u901a\u8fc7\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u6a21\u5f0f\uff0c\u53ef\u4ee5\u63d0\u53d6\u5b57\u7b26\u4e32\u4e2d\u7684\u6c49\u5b57\u548c\u6570\u5b57\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>re.findall()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u6240\u6709\u6c49\u5b57\u548c\u6570\u5b57\uff0c\u5e76\u5c06\u5b83\u4eec\u5206\u522b\u5b58\u50a8\u5728\u4e0d\u540c\u7684\u5217\u8868\u4e2d\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u4e9b\u5e93\u6216\u65b9\u6cd5\u53ef\u4ee5\u5904\u7406\u6c49\u5b57\u548c\u6570\u5b57\u7684\u5206\u79bb\uff1f<\/strong><br \/>\u9664\u4e86<code>re<\/code>\u6a21\u5757\u5916\uff0cPython\u4e2d\u7684<code>pandas<\/code>\u5e93\u4e5f\u53ef\u4ee5\u65b9\u4fbf\u5730\u5904\u7406\u6570\u636e\u5206\u79bb\u3002\u901a\u8fc7\u5c06\u6570\u636e\u8f6c\u6362\u4e3aDataFrame\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5bf9\u6570\u636e\u8fdb\u884c\u64cd\u4f5c\u548c\u5206\u79bb\u3002\u5bf9\u4e8e\u5904\u7406\u8f83\u5927\u6587\u672c\u6570\u636e\u65f6\uff0c\u4f7f\u7528<code>pandas<\/code>\u4f1a\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n<p><strong>\u5206\u79bb\u6c49\u5b57\u548c\u6570\u5b57\u65f6\uff0c\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u907f\u514d\uff1f<\/strong><br \/>\u5728\u5206\u79bb\u6c49\u5b57\u548c\u6570\u5b57\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u672a\u8003\u8651\u5230\u7279\u6b8a\u5b57\u7b26\u7684\u5b58\u5728\uff0c\u6216\u8005\u5bf9\u5b57\u7b26\u4e32\u7684\u7f16\u7801\u95ee\u9898\u5904\u7406\u4e0d\u5f53\u3002\u786e\u4fdd\u5b57\u7b26\u4e32\u7684\u7f16\u7801\u4e3aUTF-8\uff0c\u5e76\u4f7f\u7528\u6b63\u786e\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\uff0c\u4ee5\u907f\u514d\u5206\u79bb\u4e0d\u51c6\u786e\u6216\u9057\u6f0f\u90e8\u5206\u5b57\u7b26\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u6709\u51e0\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5c06\u6c49\u5b57\u548c\u6570\u5b57\u5206\u5f00\u3002\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u65b9\u6cd5\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5b57\u7b26\u4e32\u3002\u6211\u4eec\u53ef\u4ee5 [&hellip;]","protected":false},"author":3,"featured_media":1089955,"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\/1089949"}],"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=1089949"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1089949\/revisions"}],"predecessor-version":[{"id":1089960,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1089949\/revisions\/1089960"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1089955"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1089949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1089949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1089949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}