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

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.

主站蜘蛛池模板: 侯马市| 韩城市| 平度市| 尖扎县| 康定县| 象州县| 乐清市| 乌鲁木齐市| 商南县| 麻城市| 西青区| 仁寿县| 长兴县| 定日县| 阳谷县| 临泽县| 瑞金市| 江安县| 基隆市| 永嘉县| 雅安市| 乐安县| 井研县| 平利县| 庄河市| 阜南县| 龙口市| 温州市| 陈巴尔虎旗| 南川市| 资阳市| 定边县| 罗平县| 旬邑县| 中山市| 江川县| 牡丹江市| 祁阳县| 建湖县| 微博| 碌曲县|