摘要: 1. Regular expressions 正则表达式被用来根据某种匹配模式来寻找strings中的某些单词。 举例:如果我们想要找到字符串The dog chased the cat中单词 the,我们可以使用下面的正则表达式: /the/gi 我们可以把这个正则表达式分成几段: / 是这个正则 阅读全文
posted @ 2017-10-26 10:35 Wendy_Guo 阅读(119) 评论(0) 推荐(0) 编辑