摘要:
什么是正则表达式: 正则表达式是用来进行文本处理的技术,是语言无关的。 是由普通字符和特殊字符组成的文字模式,用来描述字符串的特征。 元字符: 1、 . : 除 \n 以外的任意的单个字符。 加\ 可以转义 a.b 表示 a b 之间可以有除了 \n 的任意字符。 2、 [ ] :取其中一个字符(必 阅读全文
摘要:
原文: A bad cold。 A:Where is Jim? B:He is in bed. A:What's the matter with him? B:He fells ill. A:He looks ill. B: We must call the docter. A:Yes,we mus 阅读全文