{"id":1024,"date":"2022-11-14T09:13:05","date_gmt":"2022-11-14T01:13:05","guid":{"rendered":"https:\/\/blog.langsasec.cn\/?p=1024"},"modified":"2022-11-14T09:13:32","modified_gmt":"2022-11-14T01:13:32","slug":"pyrmzzpp","status":"publish","type":"post","link":"https:\/\/blog.langsasec.cn\/index.php\/2022\/11\/14\/pyrmzzpp\/","title":{"rendered":"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684"},"content":{"rendered":"<h2><span class=\"ez-toc-section\" id=\"%e6%9c%ac%e6%9c%9f%e5%86%85%e5%ae%b9%e7%ae%80%e4%bb%8b\"><\/span>\u672c\u671f\u5185\u5bb9\u7b80\u4ecb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u6211\u8981\u6211\u60f3\u8981\u7684\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u6709\u9700\u8981\u4ece\u4e00\u5927\u5806\u6587\u672c\u4e2d\u627e\u5230\u67d0\u4e2a\u5173\u952e\u8bcd\u4ee5\u53ca\u4ed6\u5bf9\u5e94\u7684\u524d\u540e\u5de6\u53f3\u7684\u5185\u5bb9\uff0c\u540c\u65f6\u4e5f\u4f1a\u78b0\u5230\u8bf4\u60f3\u8981\u627e\u5230\u7b26\u5408\u67d0\u4e9b\u89c4\u5219\u7684\u4e00\u4e9b\u5173\u952e\u6570\u636e\u3002\u6bd4\u5982\uff0c\u5728\u5b89\u5168\u573a\u666f\u4e0b\u7ecf\u5e38\u6709\u7684\u662f\uff0c\u5728\u7f51\u9875\u4e2d\u627e\u5230\u654f\u611f\u6570\u636e\uff08\u5305\u62ec\uff1a\u624b\u673a\u53f7\u3001\u8eab\u4efd\u8bc1\u53f7\u3001\u90ae\u7bb1\u7b49\u654f\u611f\u4fe1\u606f\uff09\uff0c\u5728\u7f51\u9875\u4e2d\u627e\u5230\u654f\u611f\u7684\u94fe\u63a5\/\u63a5\u53e3\u7b49\u7b49\uff0c\u8fd9\u4e9b\u4e1c\u897f\u662f\u53ef\u4ee5\u901a\u8fc7\u6211\u4eec\u4eba\u773c\u53bb\u5224\u65ad\u8bf4\u54ea\u4e9b\u662f\u7b26\u5408\u6211\u4eec\u60f3\u8981\u7684\uff0c\u4f46\u662f\u5f88\u591a\u65f6\u5019\u8fd9\u4e9b\u6587\u672c\u53c8\u7279\u522b\u7684\u957f\uff0c\u8ba9\u4f60\u65e0\u4ece\u4e0b\u624b\uff0c\u6216\u8005\u8bf4\u4f1a\u5012\u7f6e\u9700\u8981\u82b1\u8d39\u8fc7\u591a\u7684\u65f6\u95f4\u5728\u8fd9\u4e0a\u9762\uff0c\u5f97\u4e0d\u507f\u5931\u3002\u672c\u671f\u7684\u5185\u5bb9\u5c31\u662f\u6253\u7b97\u6559\u4f1a\u4f60\u600e\u4e48\u901a\u8fc7Python\u6765\u5e2e\u4f60\u81ea\u52a8\u5316\u3001\u6279\u91cf\u5316\u5730\u8bc6\u522b\u51fa\u8fd9\u4e9b\u6570\u636e\uff0c\u4e00\u6b65\u5230\u4f4d\uff0c\u5b9e\u65bd\u201d\u5077\u61d2\u201c\u884c\u4e3a\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"python%e6%ad%a3%e5%88%99%e5%8c%b9%e9%85%8d\"><\/span>Python\u6b63\u5219\u5339\u914d<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u672c\u671f\u5185\u5bb9\u4e3b\u8981\u8bb2\u7684\u662fPython\u7684\u6b63\u5219\u5339\u914d\uff08PS\uff1a\u6b63\u5219\u8868\u8fbe\u5f0f\u4e0d\u662fPython\u7279\u6709\u7684\uff0c\u662fPython\u4e2d\u7684re\u6a21\u5757\u5b9e\u73b0\u7684\u6b63\u5219\uff09\uff0c\u90a3\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4ec0\u4e48\uff1f\u6709\u4ec0\u4e48\u7528\u5462\uff1f<\/p>\n<p>\u9996\u5148\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4f7f\u7528\u5355\u4e2a\u5b57\u7b26\u4e32\u6765\u63cf\u8ff0\u3001\u5339\u914d\u4e00\u7cfb\u5217\u7b26\u5408\u67d0\u4e2a\u8bed\u6cd5\u89c4\u5219\u7684\u5b57\u7b26\u4e32\u3002\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u7528\u6765\u5bf9\u5b57\u7b26\u4e32\u8fdb\u884c\u68c0\u7d22\u5339\u914d\u548c\u5904\u7406\u7684\u3002\u4ed6\u7684\u7528\u5904\u5f88\u591a\uff0c\u53ea\u8981\u662f\u9700\u8981\u5339\u914d\u5b57\u7b26\u4e32\u7684\u573a\u666f\u6211\u4eec\u90fd\u53ef\u80fd\u7528\u5230\uff0c\u4e3e\u51e0\u4e2a\u6211\u5728\u5de5\u4f5c\u4e2d\u7528\u5230\u7684\u573a\u666f\uff1a<\/p>\n<p>1\u3001\u83b7\u53d6web\u9875\u9762\u6e90\u7801\u540e\uff0c\u63d0\u53d6\u9875\u9762\u91cc\u56fa\u5b9a\u7684\u4fe1\u606f\uff08\u83b7\u53d6web\u9875\u9762\u6e90\u7801\u5728\u672c\u4e13\u680fPython web\u7f16\u7a0b\u91cc\u9762\u4f1a\u8bb2\uff09<\/p>\n<p>2\u3001\u5b89\u5168\u8bbe\u5907\u65e5\u5fd7\u5feb\u901f\u5339\u914d\u60f3\u8981\u7684\u4fe1\u606f\uff08\u5728\u5e94\u6025\u54cd\u5e94\u8fc7\u7a0b\u4e2d\u53ef\u4ee5\u4f7f\u7528\uff0c\u4f7f\u7528Notepad++\u7f16\u8f91\u5668\u63d0\u4f9b\u6b63\u5219\u8868\u8fbe\u5f0f\u67e5\u627e\u548c\u66ff\u6362\u6587\u672c\u7684\u529f\u80fd\uff09<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/fbb2a6215729fcac0b11571b6a71c949bb5f6413.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe\" \/> <\/p>\n<p>3\u3001\u5c06\u6587\u672c\u5185\u5bb9\u8fdb\u884c\u5339\u914d\uff0c\u5b58\u50a8\u5230\u8868\u683c\uff0c\u53ef\u53c2\u8003\u6587\u7ae0\u300a\u201c\u61d2\u4eba\u201d\u5c0f\u5de5\u5177\u4e4btxt\u81ea\u52a8\u5316\u5199\u5165excel\u811a\u672c\u300b\u3002\u6587\u7ae0\u4f7f\u7528\u7684\u662f\u901a\u8fc7\u5faa\u73af\u5224\u65ad\u5bf9\u5e94\u7684\u5185\u5bb9\uff0c\u5b66\u5b8c\u672c\u7ae0\u8282\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u6b63\u5219\u5339\u914d\u7684\u65b9\u5f0f\u53bb\u5b9e\u73b0\u5b83\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"python%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f%e7%9a%84%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\"><\/span>Python\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u4f7f\u7528\u65b9\u6cd5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Python\u901a\u8fc7re\u6a21\u5757\u63d0\u4f9b\u5bf9\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u652f\u6301<\/p>\n<p>\u5bfc\u5165\u6a21\u5757\uff1aimport re<\/p>\n<p>\u6a21\u5757\u65b9\u6cd5\uff1a\u53ef\u4ee5\u4f7f\u7528print(dir(re))\u8fdb\u884c\u67e5\u770b\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5b98\u65b9\u6587\u6863\u8fdb\u884c\u67e5\u770b\uff0c\u5b98\u65b9\u94fe\u63a5\uff1a<a href=\"http:\/\/docs.python.org\/\">http:\/\/docs.Python.org\/<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/9c4e82c66a8ff2c24b6c049edf1c72c7cfd4e1fe.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe1\" \/> \u53ef\u4ee5\u770b\u5230\u5b58\u5728\u5f88\u591a\u7684\u51fd\u6570\u548c\u65b9\u6cd5\uff0c \u4ee5\u4e0b\u4e3b\u8981\u9488\u5bf9match\u548cfindall\u51fd\u6570\u8fdb\u884c\u89e3\u91ca\uff1a<\/p>\n<p><strong><em>*1\u3001match()*<\/em><\/strong><\/p>\n<p>\u7528\u6cd5\uff1are.match(\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u8981\u5339\u914d\u7684\u5b57\u7b26\u4e32\uff0cflags=\u5339\u914d\u6a21\u5f0f)\uff0c\u5176\u4e2d\u6b63\u5219\u8868\u8fbe\u5f0f\u548c\u8981\u5339\u914d\u7684\u5b57\u7b26\u4e32\u662f\u5fc5\u586b\u7684\uff0c\u5339\u914d\u6a21\u5f0f\u9009\u586b\u3002\u5339\u914d\u6a21\u5f0f\u5e73\u65f6\u7528\u7684\u8f83\u5c11\uff0c\u6709\u9700\u8981\u4f7f\u7528\u7684\u60c5\u51b5\u53ef\u4ee5\u81ea\u884c\u67e5\u627e\u3002<\/p>\n<p>\u4f7f\u7528re.match\u8fd4\u56de\u7684\u662f\u4e00\u4e2a\u5bf9\u8c61<\/p>\n<p>\u5982\uff1a<\/p>\n<p>import re<\/p>\n<p>word = 'hello word!'<\/p>\n<p>h = re.match('hello',word)<\/p>\n<p>print(h)<\/p>\n<p>\u7ed3\u679c\u662f\uff1a&lt;re.Match object; span=(0, 5), match='hello'&gt;\uff0c\u8be5\u5bf9\u8c61\u8fd4\u56de\u7684\u5185\u5bb9\u662f\u5339\u914d\u5230\u7684\u5185\u5bb9\u7684\u5f00\u59cb\u4f4d\u7f6e\u548c\u7ed3\u675f\u4f4d\u7f6e\uff0c\u4ee5\u53ca\u5339\u914d\u5230\u7684\u5185\u5bb9<\/p>\n<p>match\u8fd8\u5b58\u5728\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u6cd5\uff1a<\/p>\n<p>group()\u8fd4\u56de\u5339\u914d\u7684\u5b57\u7b26\u4e32\u5185\u5bb9<\/p>\n<p>span()\u8fd4\u56de\u4e00\u4e2a\u5143\u7ec4\u5305\u542b\u5339\u914d\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u7684\u4f4d\u7f6e\uff0c\uff08\u5f00\u59cb\uff0c\u7ed3\u675f\uff09<\/p>\n<p>start()\u8fd4\u56de\u5339\u914d\u5f00\u59cb\u7684\u4f4d\u7f6e<\/p>\n<p>end()\u8fd4\u56de\u5339\u914d\u7ed3\u675f\u7684\u4f4d\u7f6e<\/p>\n<p><strong><em>*2\u3001findall()*<\/em><\/strong><\/p>\n<p>\u7528\u6cd5\uff1a\u4e0ematch()\u7c7b\u4f3c\uff0cre.findall(\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u5e26\u5339\u914d\u7684\u5b57\u7b26\u4e32\uff0cflags=\u5339\u914d\u6a21\u5f0f)<\/p>\n<p>\u4f7f\u7528re.findall\u8fd4\u56de\u7684\u662f\u4e00\u4e2a\u6570\u7ec4<\/p>\n<p>word = 'hello word!'<\/p>\n<p>re.findall('hello',word)<\/p>\n<p>\u7ed3\u679c\u662f\uff1a['hello']<\/p>\n<p>match\u548cfindall\u5b9e\u9645\u4f7f\u7528\u6548\u679c\u6709\u6240\u533a\u522b\uff0c\u5177\u4f53\u4f7f\u7528\u54ea\u4e2a\u51fd\u6570\u8981\u6839\u636e\u5b9e\u9645\u573a\u666f\u8fdb\u884c\u9009\u62e9\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e6%ad%a3%e5%88%99%e8%a1%a8%e8%be%be%e5%bc%8f%e7%9a%84%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%ef%bc%9a\"><\/span>\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u57fa\u7840\u77e5\u8bc6\uff1a<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u4e86\u89e3\u4e86\u4ee5\u4e0aPython\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u65b9\u6cd5\uff0c\u63a5\u4e0b\u6765\u4e86\u89e3\u4e00\u4e0b\u6b63\u5219\u8868\u8fbe\u5f0f\u600e\u4e48\u5199\u3002\u9996\u5148\uff0c\u9700\u8981\u77e5\u9053\u6b63\u5219\u8868\u8fbe\u5f0f\u5b57\u7b26\u610f\u4e49\u3002<\/p>\n<p><strong><em>\\<\/em>1\u3001*****<\/strong>*\u6b63\u5219\u8868\u8fbe\u5f0f\u5b57\u7b26\u610f\u4e49\uff1a****<\/p>\n<table>\n<thead>\n<tr>\n<th>\u7b26\u53f7<\/th>\n<th>\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>^<\/td>\n<td>\u4ee5\u4ec0\u4e48\u5f00\u5934<\/td>\n<\/tr>\n<tr>\n<td>$<\/td>\n<td>\u4ee5\u4ec0\u4e48\u7ed3\u5c3e<\/td>\n<\/tr>\n<tr>\n<td>.<\/td>\n<td>\u5339\u914d\u4efb\u610f\u5b57\u7b26\uff0c\u9664\u4e86\u6362\u884c\u7b26\\n<\/td>\n<\/tr>\n<tr>\n<td>()<\/td>\n<td>\u6807\u8bb0\u7ec4\u5408<\/td>\n<\/tr>\n<tr>\n<td>[\u2026]<\/td>\n<td>\u7528\u6765\u8868\u793a\u4e00\u7ec4\u5b57\u7b26\uff0c\u5982[abc]\uff0c\u8868\u793a\u5339\u914d'a'\u6216'b'\u6216'c'\u3002\u4e14\u53ef\u4ee5\u4f7f\u7528-\u53f7\u4ee3\u8868x-x\uff0c\u5982[0-9]\u8868\u793a0\u52309\u7684\u6240\u6709\u6570\u5b57\uff0c[a-z]\u8868\u793aa\u5230z\u7684\u6240\u6709\u5b57\u6bcd\u3002<\/td>\n<\/tr>\n<tr>\n<td>[^\u2026]<\/td>\n<td>\u53d6\u53cd<\/td>\n<\/tr>\n<tr>\n<td>|<\/td>\n<td>\u8868\u793a\u6216\uff0c\u5339\u914d\u524d\u9762\u7684\u6216\u540e\u9762\u7684\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>\/<\/td>\n<td>\u8f6c\u4e49\u7b26\uff0c\u7528\u4e8e\u60f3\u8981\u5339\u914d\u9884\u5b9a\u4e49\u7b26\u53f7\u7684\u65f6\u5019<\/td>\n<\/tr>\n<tr>\n<td>\\d<\/td>\n<td>\u5339\u914d\u4efb\u610f\u6570\u5b57\uff0c\u76f8\u5f53\u4e8e[0-9]<\/td>\n<\/tr>\n<tr>\n<td>\\D<\/td>\n<td>\u5339\u914d\u4efb\u610f\u975e\u6570\u5b57\uff0c\u76f8\u5f53\u4e8e[^0-9]<\/td>\n<\/tr>\n<tr>\n<td>\\w<\/td>\n<td>\u5339\u914d\u5b57\u6bcd\u3001\u6570\u5b57\u548c\u4e0b\u5212\u7ebf\uff0c\u76f8\u5f53\u4e8e[0-9a-zA-Z_]<\/td>\n<\/tr>\n<tr>\n<td>\\W<\/td>\n<td>\u5339\u914d\u975e\u5b57\u6bcd\u3001\u6570\u5b57\u548c\u4e0b\u5212\u7ebf\uff0c\u76f8\u5f53\u4e8e[^0-9a-zA-Z_]<\/td>\n<\/tr>\n<tr>\n<td>\\s<\/td>\n<td>\u5339\u914d\u4efb\u610f\u7684\u7a7a\u767d\u5b57\u7b26\uff0c\u76f8\u5f53\u4e8e[\\n\\f\\r\\t\\v]<\/td>\n<\/tr>\n<tr>\n<td>\\S<\/td>\n<td>\u5339\u914d\u4efb\u610f\u7684\u975e\u7a7a\u5b57\u7b26\uff0c\u76f8\u5f53\u4e8e[^\\n\\f\\r\\t\\v]<\/td>\n<\/tr>\n<tr>\n<td>\\A<\/td>\n<td>\u5339\u914d\u5b57\u7b26\u4e32\u5f00\u59cb<\/td>\n<\/tr>\n<tr>\n<td>\\z<\/td>\n<td>\u5339\u914d\u5b57\u7b26\u4e32\u7ed3\u675f<\/td>\n<\/tr>\n<tr>\n<td>\\Z<\/td>\n<td>\u5339\u914d\u5b57\u7b26\u4e32\u7ed3\u675f\uff0c\u5982\u679c\u662f\u5b58\u5728\u6362\u884c\uff0c\u53ea\u5339\u914d\u5230\u6362\u884c\u524d\u7684\u7ed3\u675f\u5b57\u7b26\u4e32<\/td>\n<\/tr>\n<tr>\n<td>\\G<\/td>\n<td>\u5339\u914d\u6700\u540e\u5339\u914d\u5b8c\u6210\u7684\u4f4d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>\\b<\/td>\n<td>\u5339\u914d\u5355\u8bcd\u8fb9\u754c<\/td>\n<\/tr>\n<tr>\n<td>\\B<\/td>\n<td>\u5339\u914d\u975e\u5355\u8bcd\u8fb9\u754c<\/td>\n<\/tr>\n<tr>\n<td>\uff1f<\/td>\n<td>\u5339\u914d1\u6b21\u6216\u80050\u6b21<\/td>\n<\/tr>\n<tr>\n<td>*<\/td>\n<td>\u5339\u914d0\u6b21\u5230\u65e0\u6570\u6b21<\/td>\n<\/tr>\n<tr>\n<td>+<\/td>\n<td>\u5339\u914d1\u6b21\u5230\u65e0\u6570\u6b21<\/td>\n<\/tr>\n<tr>\n<td>{n,m}<\/td>\n<td>\u5339\u914dn\u5230m\u6b21<\/td>\n<\/tr>\n<tr>\n<td>{n}<\/td>\n<td>\u5339\u914dn\u6b21<\/td>\n<\/tr>\n<tr>\n<td>{n+}<\/td>\n<td>\u5339\u914d\u5927\u4e8e\u7b49\u4e8en\u6b21<\/td>\n<\/tr>\n<tr>\n<td>\u666e\u901a\u5b57\u7b26<\/td>\n<td>\u5982a\u3001B\u30011\u3001&gt;\u7b49\uff0c\u5c31\u5339\u914d\u5bf9\u5e94\u7684\u5b57\u7b26<\/td>\n<\/tr>\n<tr>\n<td>\u9884\u5b9a\u4e49\u5b57\u7b26<\/td>\n<td>\u5982\uff1a?\u3001*\u3001+\u3001|\u7b49\uff0c\u4ee3\u8868\u7684\u662f\u4ee5\u4e0a\u7684\u542b\u4e49\uff0c\u5f53\u8981\u5339\u914d\u5bf9\u5e94\u7684\u5b57\u7b26\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u8f6c\u4e49\u7b26\\\uff0c\u5373\u8981\u5339\u914d\u201c?\u201d\u53f7\u65f6\uff0c\u4f7f\u7528\u201d\\?\u201d\u8fdb\u884c\u5339\u914d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>2\u3001\u8d2a\u5a6a\u6a21\u5f0f\u548c\u975e\u8d2a\u5a6a\u6a21\u5f0f<\/p>\n<p>\u6b63\u5219\u8868\u8fbe\u5f0f\u901a\u5e38\u7528\u4e8e\u5728\u6587\u672c\u4e2d\u67e5\u627e\u5339\u914d\u7684\u5b57\u7b26\u4e32\u3002Python\u91cc\u7684\u6570\u91cf\u8bcd\u9ed8\u8ba4\u662f\u8d2a\u5a6a\u7684\uff0c\u610f\u601d\u662f\u603b\u662f\u5c1d\u8bd5\u5c3d\u53ef\u80fd\u591a\u7684\u5b57\u7b26\uff1b\u975e\u8d2a\u5a6a\u7684\u5219\u76f8\u53cd\uff0c\u603b\u662f\u5c1d\u8bd5\u5339\u914d\u5c3d\u53ef\u80fd\u5c11\u7684\u5b57\u7b26\u3002<\/p>\n<p>\u6570\u91cf\u8bcd\uff1a\uff1f\u3001*\u3001+\u3001{n,m}\u3001{n+}<\/p>\n<p>\u6bd4\u5982\uff1a<em>\u8868\u793a0\u6b21\u5230\u65e0\u6570\u6b21\uff0c\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u201cabc<\/em>\u201d\uff08\u9ed8\u8ba4\u8d2a\u5a6a\uff09\uff0c\u5982\u679c\u7528\u4e8e\u67e5\u627e\u201cabcccccd\u201d\uff0c\u5c06\u627e\u5230\u201cabcccccd&quot;\uff0c\u800c\u5982\u679c\u4f7f\u7528\u975e\u8d2a\u5a6a\u65b9\u6cd5\u201dabc*?\u201c\uff0c\u5c06\u627e\u5230\u201dab\u201c<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e5%ae%9e%e6%88%98%e6%bc%94%e7%bb%83\"><\/span>\u5b9e\u6218\u6f14\u7ec3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u8bb2\u4e86\u90a3\u4e48\u591a\u7684\u6982\u5ff5\uff0c\u7ec8\u5f52\u8fd8\u65f6\u8981\u7528\u5728\u6211\u4eec\u7684\u5b9e\u9645\u73af\u5883\u4e2d\u7684\uff0c\u4e0d\u8981\u6015\u201c\u6982\u5ff5\u90a3\u4e48\u591a\u6211\u8bb0\u4e0d\u4f4f\u3001\u5b57\u7b26\u90a3\u4e48\u591a\u6211\u8bb0\u4e0d\u4f4f\u201d\uff0c\u4f60\u8bb0\u4e0d\u4f4f\uff0c\u4f60\u4ee5\u4e3a\u6211\u5c31\u80fd\u8bb0\u5f97\u4f4f\u5417\uff1f\u4e0d\u8981\u6015\uff0c\u8bb0\u4e0d\u4f4f\u5c31\u67e5\uff0c\u591a\u7528\u5c31\u80fd\u8bb0\u4f4f\u4e86\u3002<\/p>\n<p>\u6848\u4f8b\u5f00\u59cb\uff0c\u53d1\u73b0\u8fd9\u6837\u4e00\u4e2a\u6848\u4f8b\uff1a\u624b\u673a\u9753\u53f7<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/c70838ab1bdc1f14684e0d38ecc24bdad36659cd.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe2\" \/> <\/p>\n<p>\u62f7\u8d1d\u7684\u5173\u4e8e\u624b\u673a\u53f7\u7684\u6e90\u7801\u662f\u4ee5\u4e0b\u8fd9\u6837\u7684\uff0c\u5206\u6210\u4e86\u4e09\u4e2a\u90e8\u5206\u3002<\/p>\n<p>\u9700\u6c42\uff1a\u5c06\u4e0a\u9762\u7684\u624b\u673a\u53f7\u7801\u62f7\u8d1d\u4e0b\u6765\uff1b<\/p>\n<p>\u63d0\u51fa\u89e3\u51b3\u65b9\u6848\uff1a\u5c06\u4e09\u4e2a\u90e8\u5206\u90fd\u5339\u914d\u4e0b\u6765\uff0c\u518d\u5c06\u4e09\u4e2a\u90e8\u5206\u62fc\u63a5\u8d77\u6765\uff0c\u5f97\u5230\u5b8c\u6574\u624b\u673a\u53f7<\/p>\n<p><span class=\"ghwcolor\">186-<\/span><span class=\"text-success\">8253-<\/span><span class=\"ghwcolor\">5801<\/span><\/p>\n<\/p>\n<p><span class=\"ghwcolor\">132-<\/span><span class=\"text-success\">1920-<\/span><span class=\"ghwcolor\">0720<\/span><\/p>\n<\/p>\n<p><span class=\"ghwcolor\">176-<\/span><span class=\"text-success\">0825-<\/span><span class=\"ghwcolor\">3582<\/span><\/p>\n<\/p>\n<p><span class=\"ghwcolor\">176-<\/span><span class=\"text-success\">0825-<\/span><span class=\"ghwcolor\">6272<\/span><\/p>\n<\/p>\n<p>\u4ee3\u7801\u548c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/fe74c8feb086a12f24987ca05d4fc4a6b98476f0.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe3\" \/> <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/71e3bdad3c5790e4683237704260cd1340440ee8.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe4\" \/> <\/p>\n<p>\u6b63\u5219\u8868\u8fbe\u5f0f\u4e3a\uff1ar'(\\d{3}).<em>?(\\d{4}).<\/em>?(\\d{4})'<\/p>\n<p>\u542b\u4e49\u662f\uff1a\u5339\u914d\u6570\u5b57<em>3\u7136\u540e\u4e2d\u95f4\u53ef\u4ee5\u662f\u4efb\u610f\u5b57\u7b26\uff0c\u518d\u5339\u914d\u6570\u5b57<\/em>4\u4e2d\u95f4\u518d\u4efb\u610f\u5b57\u7b26\uff0c\u518d\u5339\u914d\u6570\u5b57*4\u3002<strong><em>*\uff08PS\uff1a\u4ee5\u4e0a\u6b63\u5219\u8868\u8fbe\u5f0f\u5c0f\u62ec\u53f7\u7684\u542b\u4e49\uff0c\u7528\u4e8e\u6807\u8bb0\u4f60\u8981\u5339\u914d\u51fa\u6765\u7684\u7ed3\u679c\uff09*<\/em><\/strong><\/p>\n<p>.\u8868\u793a\u4efb\u610f\u5b57\u7b26\uff0c*\u8868\u793a\u4efb\u610f\u6b21\u6570\uff0c\u52a0\u4e0a?\u8868\u793a\u975e\u8d2a\u5a6a\u6a21\u5f0f\uff0c\u4e5f\u5c31\u662f\u5c3d\u53ef\u80fd\u5c11\u3002\u5982\u679c\uff0c\u6ca1\u52a0\u95ee\u53f7\u4f1a\u53d1\u751f\u4ec0\u4e48\uff1f<\/p>\n<p>\u5728\u6bcf\u4e00\u884c\u90fd\u6709\u6362\u884c\u7684\u65f6\u5019\uff0c\u8fd8\u662f\u548c\u4e0a\u9762\u7684\u7ed3\u679c\u4e00\u6837\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u662f\u5355\u884c\u5355\u884c\u5339\u914d\u7684\u3002\u518d\u5c06\u6362\u884c\u7b26\u53bb\u6389\u7684\u65f6\u5019\u5c31\u4f1a\u51fa\u6765\u5339\u914d\u9519\u8bef\u7684\u60c5\u51b5\uff0c\u5339\u914d\u6700\u5f00\u5934\u548c\u6700\u7ed3\u5c3e\u7684\u60c5\u51b5\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/c6e0d1acfd89043b4e4302de21eb96dd15fb203e.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe5\" \/> <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/73530175b4b3d2e92d6b1779cc3b6ad311390e62.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe6\" \/> <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i0.hdslb.com\/bfs\/album\/572481f313f938a205d2b33fc6712bd676451994.jpg\" alt=\"img\" title=\"\u3010Python\u201c\u5077\u61d2\u201d\u5165\u95e8\u4e13\u680f\u3011\u6211\u8981\u6211\u60f3\u8981\u7684\u63d2\u56fe7\" \/> <\/p>\n<h2><span class=\"ez-toc-section\" id=\"%e5%8a%a8%e5%8a%a8%e6%89%8b\"><\/span>\u52a8\u52a8\u624b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u770b\u4e86\u90a3\u4e48\u591a\u7684\u77e5\u8bc6\u548c\u6848\u4f8b\u4e86\uff0c\u4e0d\u59a8\u52a8\u624b\u6765\u64cd\u4f5c\u4e00\u4e0b\uff0c\u4e0d\u8981\u6015\u5199\u7684\u7a0b\u5e8f\u4e0d\u5bf9\uff0c\u6216\u8005\u51fa\u95ee\u9898\uff0c\u5927\u80c6\u5c1d\u8bd5\u3002\u53ef\u4ee5\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u627e\u4e00\u627e\u6848\u4f8b\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n<p>\u5c0f\u6848\u4f8b\uff1a\u603b\u6240\u5468\u77e5\uff0c\u6211\u4eec\u624b\u673a\u53f7\u7801\u7684\u524d\u4e09\u4f4d\u662f\u6709\u4e00\u5b9a\u7684\u89c4\u5219\u7684\uff0c\u6bd4\u5982\u7b2c\u4e00\u4f4d\u4e3a1<\/p>\n<p>\u8054\u901a\u73b0\u6709\u53f7\u6bb5\u662f\uff1a130\u3001131\u3001132\u3001155\u3001156\u3001186\u3001185\uff0c\u5176\u4e2d3G\u4e13\u5c5e\u53f7\u6bb5\u662f\uff1a186\u3001185\u3002\u8fd8\u6709\u65e0\u7ebf\u4e0a\u7f51\u5361\u4e13\u5c5e\u53f7\u6bb5\uff1a145\u3002<\/p>\n<p>\u79fb\u52a8\u73b0\u6709\u53f7\u6bb5\u662f\uff1a134\u3001135\u3001136\u3001137\u3001138\u3001139\u3001150\u3001151\u3001152\u3001157\u3001158\u3001159\u3001182\u3001183\u3001188\u3001187\u3002<\/p>\n<p>\u7535\u4fe1\u73b0\u6709\u53f7\u6bb5\u662f\uff1a133\u3001153\u3001180\u3001181\u3001189<\/p>\n<p>\u67e5\u8be2\u767e\u5ea6\u5f97\u5230\u5982\u4e0b\u7ed3\u679c\uff0c\u4e0d\u4e00\u5b9a\u51c6\u786e\uff0c\u4f46\u662f\u5927\u5bb6\u53ef\u4ee5\u5c1d\u8bd5\u4e00\u4e0b\u4ee5\u4e0b\u7684\u6848\u4f8b\uff1a<\/p>\n<p>\u5c06\u4ee5\u4e0b\u53f7\u7801\u7b26\u5408\u8981\u6c42\u7684\u901a\u8fc7\u6b63\u5219\u5339\u914d\u5339\u914d\u51fa\u6765\uff0c\u518d\u81ea\u884c\u9a8c\u8bc1\u662f\u5426\u7b26\u5408\u6761\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u589e\u52a0\u6837\u4f8b\u8fdb\u884c\u6d4b\u8bd5\uff08ps:\u53f7\u7801\u4e3a\u865a\u6784\u53f7\u7801\uff0c\u5982\u6709\u96f7\u540c\uff0c\u7eaf\u5c5e\u5de7\u5408\u3002\u4e00\u4e2a\u6848\u4f8b\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\u4e0d\u662f\u552f\u4e00\u7684\uff0c\u80fd\u5339\u914d\u5230\u60f3\u8981\u7684\u5b57\u7b26\u4e32\u5c31\u662f\u4e00\u4e2a\u597d\u7684\u6b63\u5219\u8868\u8fbe\u5f0f\uff09<\/p>\n<p><strong><em>*\u5c0f\u63d0\u793a\uff1a\u5927\u5bb6\u53ef\u4ee5\u5148\u5c1d\u8bd5\u5339\u914d\u51fa11\u4f4d\u624b\u673a\u53f7\uff0c\u6392\u9664\u5176\u4ed6\u4f4d\u6570\u5b57\u7b26\u4e32\u7684\u5e72\u6270\uff0c\u518d\u5bf9\u9650\u5b9a\u6761\u4ef6\u8fdb\u884c\u7ea6\u675f\u3002*<\/em><\/strong><\/p>\n<p>01545872354<\/p>\n<p>15823547854<\/p>\n<p>19125487564<\/p>\n<p>15566668888<\/p>\n<p>1557236548<\/p>\n<p>18925486548<\/p>\n<p>189582415151<\/p>\n<p>18888887777<\/p>\n<p>168686855551<\/p>\n<p>12152154824<\/p>\n<p>13500001512<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u671f\u5185\u5bb9\u7b80\u4ecb \u6211\u8981\u6211\u60f3\u8981\u7684\uff0c\u6211\u4eec\u7ecf\u5e38\u4f1a\u6709\u9700\u8981\u4ece\u4e00\u5927\u5806\u6587\u672c\u4e2d\u627e\u5230\u67d0\u4e2a\u5173\u952e\u8bcd\u4ee5\u53ca\u4ed6\u5bf9\u5e94\u7684\u524d\u540e\u5de6\u53f3\u7684\u5185\u5bb9\uff0c\u540c\u65f6\u4e5f\u4f1a\u78b0 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-1024","post","type-post","status-publish","format-standard","hentry","category-aqkf"],"_links":{"self":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/1024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1024"}],"version-history":[{"count":1,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/1024\/revisions"}],"predecessor-version":[{"id":1025,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/posts\/1024\/revisions\/1025"}],"wp:attachment":[{"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.langsasec.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}