{"id":164628,"date":"2020-10-07T16:56:30","date_gmt":"2020-10-07T08:56:30","guid":{"rendered":"http:\/\/4563.org\/?p=164628"},"modified":"2020-10-07T16:56:30","modified_gmt":"2020-10-07T08:56:30","slug":"%e6%b1%82%e4%b8%80%e4%b8%aa%e6%ad%a3%e5%88%99%e5%8c%b9%e9%85%8d%e5%86%99%e6%b3%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=164628","title":{"rendered":"\u6c42\u4e00\u4e2a\u6b63\u5219\u5339\u914d\u5199\u6cd5"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u4e00\u4e2a\u6b63\u5219\u5339\u914d\u5199\u6cd5               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guke01857 <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                         \u539f\u8bcd\uff1a \u4e24\u5168\u5176\u7f8e( \u6ce8\u91ca: \u7f8e\uff1a\u7f8e\u597d\u3002\u6307\u505a\u4e00\u4ef6\u4e8b\u987e\u5168\u5230\u53cc\u65b9\uff0c\u4f7f\u4e24\u65b9\u9762\u90fd\u5f97\u5230\u597d\u5904\u3002 ) <\/p>\n<p>\u6211\u9700\u8981\u7528 \u4e00\u4e9b\u4ee3\u7801\u7f16\u8f91\u5668 \u6bd4\u5982 Editplus \u6216\u8005 sublime \u8fd9\u4e00\u7c7b\u7684\u4ee3\u7801\u7f16\u8f91\u8f6f\u4ef6\uff0c\u7528\u6b63\u5219\u53bb\u6389 HTML \u6807\u7b7e\u4e24\u8fb9\u7684\u7684\u7a7a\u683c\uff0c\u7a7a\u767d\uff0c\u4ee5\u53ca\u6362\u884c\u7b26\u3002\u4e14\u4fdd\u7559 HTML \u6807\u7b7e\u5185\u7684 \u7a7a\u683c(\u6bd4\u5982\uff1a)<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3616816\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lin07hui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             html \u538b\u7f29\u63d2\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616817\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : herozzm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6b63\u5219\u53ef\u4ee5\u5b9e\u73b0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616818\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : herozzm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &gt;[^&gt;]*(s{2,})[^&gt;]*&lt;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616819\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : guke01857 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @herozzm <br \/>&lt;tr class=&#8221;a&#8221;&gt; &lt;td class=&#8221;b&#8221;&gt;\u539f\u8bcd\uff1a&lt;\/td&gt;<br \/>\u4e0a\u9762\u7684\u662f\u539f\u6709\u7684\u3002<br \/>\u6309\u7167\u4f60\u7684\u6b63\u5219\u66ff\u6362\u540e<br \/>&lt;tr class=&#8221;a&#8221;td class=&#8221;b&#8221;&gt;\u539f\u8bcd\uff1a&lt;\/td&gt;<br \/>\u53d8\u6210\u4e86\u8fd9\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616820\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : herozzm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @guke01857 #4 \u6ce8\u610f\u53ea\u66ff\u6362\u6355\u83b7\u5185\u5bb9$1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616821\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : posthoc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &#8220;s*(&lt;(w+)[^&gt;]*&gt;.*?&lt;\/(w+)[^&gt;]*&gt;)s*&#8221;<br \/>if $2 == $3 {<br \/> \u5339\u914d\u7684\u5185\u5bb9\u66ff\u6362\u4e3a $1<br \/>}                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616822\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : davin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u9700\u8981\u7684\u662f\u4e0d\u662f Trailing spaces \u529f\u80fd\uff0c\u57fa\u672c\u4e3b\u6d41\u7684\u7f16\u8f91\u5668\u90fd\u6709\u5bf9\u5e94\u7684\u63d2\u4ef6\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3616823\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : onevcat <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4f60\u53ea\u662f\u8981\u7528\u7f16\u8f91\u5668\u7f16\u8f91 HTML \u4e3a\u4e86\u683c\u5f0f\u548c\u597d\u770b\u7684\u8bdd\uff0c\u53ef\u4ee5\u968f\u4fbf\u627e\u4e2a Beautifier \u7cfb\u7684\u63d2\u4ef6\uff0c\u6bd4\u5982 https:\/\/marketplace.visualstudio.com\/items?itemName=HookyQR.beautify<\/p>\n<p>\u5982\u679c\u4f60\u662f\u60f3\u8981\u683c\u5f0f\u5316\u4e00\u4e9b\u8f93\u5165\u6587\u672c\u6216\u8005\u81ea\u7528\u7684\u8bdd\uff0c\u627e\u4e2a (\u6216\u8005\u5199\u4e2a) HTML parser \u4f1a\u662f\u66f4\u597d\u66f4\u6b63\u786e\u7684\u9009\u62e9..                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u4e00\u4e2a\u6b63\u5219\u5339\u914d\u5199\u6cd5 \u8cc7\u6df1\u5927\u4f6c : &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/164628"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164628"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/164628\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164628"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}