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

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.

主站蜘蛛池模板: 苍梧县| 巢湖市| 永州市| 遂昌县| 多伦县| 靖边县| 鹤庆县| 金坛市| 平山县| 乌鲁木齐市| 合作市| 大足县| 绥芬河市| 交口县| 改则县| 英山县| 榆树市| 诏安县| 哈巴河县| 讷河市| 彭山县| 千阳县| 张北县| 克东县| 库伦旗| 克山县| 思南县| 太白县| 威信县| 甘孜县| 新津县| 方城县| 博爱县| 漯河市| 青冈县| 恭城| 台东市| 鄯善县| 从江县| 广宁县| 习水县|