官术网_书友最值得收藏!

Summary

In this chapter, you were introduced to regular expressions with a bit of history and their flavors. You learnt some use cases where regex are needed. Finally, we covered the basic rules and building blocks of writing regex, with a few examples. You also learnt the eager-matching behavior of the regex engine and how it may impact matching in alternations.

In the next chapter, we will go a level deeper and cover the core concepts of regex in detail, such as quantifiers, lazy vs greedy matching, anchors, negated character classes, Unicode and predefined character classes, special escape sequences, and the rules of escaping inside a character class.

主站蜘蛛池模板: 延川县| 邹城市| 泸州市| 柳河县| 鹤峰县| 永丰县| 灯塔市| 南宁市| 云阳县| 全椒县| 长子县| 中阳县| 怀柔区| 鸡西市| 海门市| 辉县市| 阳信县| 新河县| 乐昌市| 侯马市| 金川县| 鱼台县| 科技| 麻阳| 平昌县| 商城县| 江城| 枞阳县| 囊谦县| 仪陇县| 巴彦淖尔市| 临颍县| 深州市| 玉溪市| 龙海市| 延吉市| 班戈县| 阿坝| 赣州市| 普定县| 玉龙|