{"id":1068001,"date":"2024-12-31T16:39:25","date_gmt":"2024-12-31T08:39:25","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1068001.html"},"modified":"2024-12-31T16:39:27","modified_gmt":"2024-12-31T08:39:27","slug":"python%e5%ad%97%e7%ac%a6%e4%b8%b2%e5%a6%82%e4%bd%95%e5%8c%b9%e9%85%8d%e5%ad%97%e7%ac%a6%e4%b8%b2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1068001.html","title":{"rendered":"python\u5b57\u7b26\u4e32\u5982\u4f55\u5339\u914d\u5b57\u7b26\u4e32"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/b7f8a96b-6e04-4c18-b6fd-08dc330f54c0.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5b57\u7b26\u4e32\u5982\u4f55\u5339\u914d\u5b57\u7b26\u4e32\" \/><\/p>\n<p><p> <strong>Python\u5b57\u7b26\u4e32\u5339\u914d\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528find()\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001in\u5173\u952e\u5b57\u3001startswith()\u65b9\u6cd5\u3001endswith()\u65b9\u6cd5\u3002<\/strong>\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u7f3a\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\uff0c\u5e76\u8fdb\u4e00\u6b65\u5c55\u5f00\u4ecb\u7ecd\u5176\u4ed6\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong> \u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u7528\u4e8e\u5728\u5b57\u7b26\u4e32\u4e2d\u641c\u7d22\u7279\u5b9a\u6a21\u5f0f\u3002Python\u7684<code>re<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5bf9\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u652f\u6301\u3002\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u53ef\u4ee5\u8fdb\u884c\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\uff0c\u5305\u62ec\u5339\u914d\u5355\u4e2a\u5b57\u7b26\u3001\u591a\u5b57\u7b26\u3001\u5206\u7ec4\u5339\u914d\u7b49\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u5b57\u7b26\u4e32\u7684\u4f8b\u5b50\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>pattern = r&#39;\\bhello\\b&#39;<\/p>\n<p>text = &#39;hello world, hello Python&#39;<\/p>\n<p>matches = re.findall(pattern, text)<\/p>\n<p>print(matches)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>\\b<\/code>\u8868\u793a\u5355\u8bcd\u8fb9\u754c\uff0c<code>hello<\/code>\u662f\u6211\u4eec\u8981\u5339\u914d\u7684\u5b57\u7b26\u4e32\uff0c<code>re.findall()<\/code>\u51fd\u6570\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\uff0c\u5305\u542b\u6240\u6709\u5339\u914d\u7684\u5b50\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528find()\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>find()\u65b9\u6cd5\u7528\u4e8e\u5728\u5b57\u7b26\u4e32\u4e2d\u67e5\u627e\u5b50\u5b57\u7b26\u4e32\u3002\u5982\u679c\u627e\u5230\u5b50\u5b57\u7b26\u4e32\uff0c\u8fd4\u56de\u5b50\u5b57\u7b26\u4e32\u7684\u8d77\u59cb\u7d22\u5f15\uff1b\u5426\u5219\uff0c\u8fd4\u56de-1\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;hello world&quot;<\/p>\n<p>index = text.find(&quot;world&quot;)<\/p>\n<p>if index != -1:<\/p>\n<p>    print(f&quot;Found &#39;world&#39; at index {index}&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Did not find &#39;world&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>find()<\/code>\u65b9\u6cd5\u627e\u5230\u4e86&quot;world&quot;\u5b50\u5b57\u7b26\u4e32\uff0c\u5e76\u8fd4\u56de\u4e86\u5b83\u7684\u8d77\u59cb\u7d22\u5f15\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528in\u5173\u952e\u5b57<\/h3>\n<\/p>\n<p><p>in\u5173\u952e\u5b57\u53ef\u4ee5\u7528\u4e8e\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u53e6\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u5b83\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;hello world&quot;<\/p>\n<p>if &quot;world&quot; in text:<\/p>\n<p>    print(&quot;Found &#39;world&#39;&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;Did not find &#39;world&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528in\u5173\u952e\u5b57\u975e\u5e38\u76f4\u89c2\u548c\u6613\u4e8e\u7406\u89e3\uff0c\u9002\u7528\u4e8e\u7b80\u5355\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528startswith()\u548cendswith()\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>startswith()\u65b9\u6cd5\u7528\u4e8e\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u4ee5\u7279\u5b9a\u5b50\u5b57\u7b26\u4e32\u5f00\u5934\uff0cendswith()\u65b9\u6cd5\u7528\u4e8e\u68c0\u67e5\u5b57\u7b26\u4e32\u662f\u5426\u4ee5\u7279\u5b9a\u5b50\u5b57\u7b26\u4e32\u7ed3\u5c3e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">text = &quot;hello world&quot;<\/p>\n<p>if text.startswith(&quot;hello&quot;):<\/p>\n<p>    print(&quot;String starts with &#39;hello&#39;&quot;)<\/p>\n<p>if text.endswith(&quot;world&quot;):<\/p>\n<p>    print(&quot;String ends with &#39;world&#39;&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e24\u4e2a\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u7528\u4e8e\u68c0\u67e5\u5b57\u7b26\u4e32\u7684\u7279\u5b9a\u90e8\u5206\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u975e\u5e38\u9002\u5408\u7528\u4e8e\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\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><pre><code class=\"language-python\">import re<\/p>\n<p>pattern = r&#39;\\bworld\\b&#39;<\/p>\n<p>text = &#39;hello world, hello Python&#39;<\/p>\n<p>matches = re.findall(pattern, text)<\/p>\n<p>print(matches)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>re.findall()<\/code>\u51fd\u6570\u8fd4\u56de\u4e00\u4e2a\u5217\u8868\uff0c\u5305\u542b\u6240\u6709\u5339\u914d\u7684\u5b50\u4e32\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u8be6\u7ec6\u4ecb\u7ecd<\/h3>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5b57\u7b26\u4e32\u5339\u914d\u5de5\u5177\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\u548c\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u57fa\u672c\u6a21\u5f0f<\/h4>\n<\/p>\n<ul>\n<li><code>.<\/code> \u5339\u914d\u4efb\u610f\u5355\u4e2a\u5b57\u7b26<\/li>\n<li><code>^<\/code> \u5339\u914d\u5b57\u7b26\u4e32\u7684\u5f00\u5934<\/li>\n<li><code>$<\/code> \u5339\u914d\u5b57\u7b26\u4e32\u7684\u7ed3\u5c3e<\/li>\n<li><code>*<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26\u96f6\u6b21\u6216\u591a\u6b21<\/li>\n<li><code>+<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26\u4e00\u6b21\u6216\u591a\u6b21<\/li>\n<li><code>?<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26\u96f6\u6b21\u6216\u4e00\u6b21<\/li>\n<li><code>{n}<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26n\u6b21<\/li>\n<li><code>{n,}<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26\u81f3\u5c11n\u6b21<\/li>\n<li><code>{n,m}<\/code> \u5339\u914d\u524d\u9762\u7684\u5b57\u7b26n\u5230m\u6b21<\/li>\n<li><code>[]<\/code> \u5339\u914d\u5b57\u7b26\u96c6\u4e2d\u7684\u4efb\u610f\u4e00\u4e2a\u5b57\u7b26<\/li>\n<li><code>|<\/code> \u8868\u793a\u6216\u64cd\u4f5c<\/li>\n<li><code>()<\/code> \u7528\u4e8e\u5206\u7ec4<\/li>\n<\/ul>\n<p><h4>2\u3001\u5e38\u7528\u51fd\u6570<\/h4>\n<\/p>\n<ul>\n<li><code>re.match(pattern, string)<\/code> \u4ece\u5b57\u7b26\u4e32\u7684\u5f00\u5934\u5339\u914d\u6a21\u5f0f<\/li>\n<li><code>re.search(pattern, string)<\/code> \u641c\u7d22\u5b57\u7b26\u4e32\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u6a21\u5f0f<\/li>\n<li><code>re.findall(pattern, string)<\/code> \u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u975e\u91cd\u53e0\u7684\u6a21\u5f0f<\/li>\n<li><code>re.finditer(pattern, string)<\/code> \u8fd4\u56de\u4e00\u4e2a\u8fed\u4ee3\u5668\uff0c\u5305\u542b\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u975e\u91cd\u53e0\u7684\u6a21\u5f0f<\/li>\n<li><code>re.sub(pattern, repl, string)<\/code> \u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u5339\u914d\u7684\u6a21\u5f0f<\/li>\n<\/ul>\n<p><h3>\u516d\u3001\u4f7f\u7528re\u6a21\u5757\u7684\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u4e00\u4e9b\u4f7f\u7528re\u6a21\u5757\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<h2><strong>\u5339\u914d\u5b57\u7b26\u4e32\u5f00\u5934<\/strong><\/h2>\n<p>pattern = r&#39;^hello&#39;<\/p>\n<p>text = &#39;hello world&#39;<\/p>\n<p>if re.match(pattern, text):<\/p>\n<p>    print(&quot;String starts with &#39;hello&#39;&quot;)<\/p>\n<h2><strong>\u641c\u7d22\u5b57\u7b26\u4e32\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u6a21\u5f0f<\/strong><\/h2>\n<p>pattern = r&#39;world&#39;<\/p>\n<p>text = &#39;hello world, hello Python&#39;<\/p>\n<p>match = re.search(pattern, text)<\/p>\n<p>if match:<\/p>\n<p>    print(f&quot;Found &#39;world&#39; at index {match.start()}&quot;)<\/p>\n<h2><strong>\u67e5\u627e\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u975e\u91cd\u53e0\u7684\u6a21\u5f0f<\/strong><\/h2>\n<p>pattern = r&#39;\\bhello\\b&#39;<\/p>\n<p>text = &#39;hello world, hello Python&#39;<\/p>\n<p>matches = re.findall(pattern, text)<\/p>\n<p>print(matches)<\/p>\n<h2><strong>\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u6240\u6709\u5339\u914d\u7684\u6a21\u5f0f<\/strong><\/h2>\n<p>pattern = r&#39;hello&#39;<\/p>\n<p>repl = &#39;hi&#39;<\/p>\n<p>text = &#39;hello world, hello Python&#39;<\/p>\n<p>new_text = re.sub(pattern, repl, text)<\/p>\n<p>print(new_text)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e9b\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528re\u6a21\u5757\u7684\u4e0d\u540c\u51fd\u6570\u6765\u8fdb\u884c\u5b57\u7b26\u4e32\u5339\u914d\u548c\u66ff\u6362\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>Python\u63d0\u4f9b\u4e86\u591a\u79cd\u5b57\u7b26\u4e32\u5339\u914d\u7684\u65b9\u6cd5\uff0c\u5305\u62ecfind()\u65b9\u6cd5\u3001in\u5173\u952e\u5b57\u3001startswith()\u65b9\u6cd5\u3001endswith()\u65b9\u6cd5\u548c\u6b63\u5219\u8868\u8fbe\u5f0f\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u7f3a\u70b9\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002<strong>\u6b63\u5219\u8868\u8fbe\u5f0f<\/strong> \u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002\u901a\u8fc7\u5b66\u4e60\u548c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u51b3\u5404\u79cd\u5b57\u7b26\u4e32\u5339\u914d\u7684\u95ee\u9898\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u53e6\u4e00\u4e2a\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>in<\/code>\u5173\u952e\u5b57\u6765\u68c0\u67e5\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u53e6\u4e00\u4e2a\u5b57\u7b26\u4e32\u3002\u793a\u4f8b\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n_string = &quot;Hello, welcome to Python programming.&quot;\nsubstring = &quot;Python&quot;\n\nif substring in main_string:\n    print(&quot;Substring found!&quot;)\nelse:\n    print(&quot;Substring not found.&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u7b80\u6d01\u660e\u4e86\uff0c\u9002\u5408\u5feb\u901f\u68c0\u67e5\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5982\u4f55\u8fdb\u884c\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\uff1f<\/strong><br \/>Python\u7684<code>re<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u652f\u6301\uff0c\u53ef\u4ee5\u7528\u4e8e\u590d\u6742\u7684\u5b57\u7b26\u4e32\u5339\u914d\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import re\n\ntext = &quot;There are many programming languages, including Python and Java.&quot;\npattern = r&#39;Python|Java&#39;\n\nmatches = re.findall(pattern, text)\nprint(matches)  # \u8f93\u51fa: [&#39;Python&#39;, &#39;Java&#39;]\n<\/code><\/pre>\n<p>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u7075\u6d3b\u7684\u5339\u914d\u89c4\u5219\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\u6216\u5b50\u5b57\u7b26\u4e32\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5b57\u7b26\u4e32\u5bf9\u8c61\u7684<code>replace()<\/code>\u65b9\u6cd5\u8f7b\u677e\u66ff\u6362\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u5b57\u7b26\u6216\u5b50\u5b57\u7b26\u4e32\u3002\u793a\u4f8b\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">original_string = &quot;I love Python programming.&quot;\nnew_string = original_string.replace(&quot;Python&quot;, &quot;Java&quot;)\nprint(new_string)  # \u8f93\u51fa: I love Java programming.\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u65b9\u6cd5\u975e\u5e38\u9002\u5408\u9700\u8981\u8fdb\u884c\u7b80\u5355\u66ff\u6362\u7684\u573a\u666f\uff0c\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5b57\u7b26\u4e32\u5339\u914d\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5305\u62ec\u4f7f\u7528find()\u65b9\u6cd5\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u3001in\u5173\u952e\u5b57\u3001startswith() [&hellip;]","protected":false},"author":3,"featured_media":1068006,"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\/1068001"}],"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=1068001"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1068001\/revisions"}],"predecessor-version":[{"id":1068010,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1068001\/revisions\/1068010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1068006"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1068001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1068001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1068001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}