The similar_text function returns the number of matching characters of two strings.
函数的作用是:返回两个字符串中相匹配的字符数量。
The join is performed on matching characters according to the locale's collating sequence.
将根据locale的排序序列对匹配的字符执行join命令。
Since regular expressions are used to operate on strings, we'll begin with the most common task: matching characters.
由于正则表达式常用于字符串操作,那我们就从最常见的任务:字符匹配下手。
应用推荐