<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Input Cleaning on PlumePHP</title><link>https://plumephp.com/tags/input-cleaning/</link><description>Recent content in Input Cleaning on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 29 Apr 2025 16:05:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/input-cleaning/index.xml" rel="self" type="application/rss+xml"/><item><title>Go 入门：regexp 能做什么，不能替你做什么</title><link>https://plumephp.com/go-regexp-input-cleaning-2025/</link><pubDate>Tue, 29 Apr 2025 16:05:00 +0800</pubDate><guid>https://plumephp.com/go-regexp-input-cleaning-2025/</guid><description>&lt;p&gt;正则表达式很容易让人又爱又怕。它写得好，可以快速从文本里找出订单号、清理多余空白、判断一个字段是否像手机号；写得太贪，就会变成没人敢改的一串符号。Go 的 &lt;code&gt;regexp&lt;/code&gt; 包使用 RE2 语法，避免了某些语言里灾难性回溯的问题，但这不代表正则可以随便写。&lt;/p&gt;</description></item></channel></rss>