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

Understanding the Core Constructs of Java Regular Expressions

Using Java as a regular expression flavor, in this chapter, we will go a bit deeper and learn in detail about anchors, quantifiers, boundary matchers, all the available character classes, negated character classes, predefined character classes, and character classes escaping rules, using Java as a reference point. You will also learn Unicode text matching, using regular expressions in Java. We will also cover greedy versus non-greedy (lazy matching) and the change of regular expression behavior with lazy matching.

We will cover the following topics in this chapter:

  • Anchors and quantifiers
  • Boundary matchers
  • Character classes
  • Regex escaping rules
  • Escaping inside character classes
  • Negated character classes
  • Predefined character classes
  • Unicode characters matching
  • Greedy quantifiers
  • Lazy quantifiers
  • Possessive quantifiers
  • Various embedded modes in regular expressions and their meaning
  • Enabling/disabling regular expression modes inside the regex
主站蜘蛛池模板: 磐石市| 西丰县| 昂仁县| 辰溪县| 普定县| 修水县| 长葛市| 永顺县| 新蔡县| 丹阳市| 民和| 行唐县| 宜宾县| 张家口市| 甘南县| 故城县| 阳泉市| 晋州市| 屯留县| 桑日县| 都昌县| 晴隆县| 禄劝| 扎囊县| 惠东县| 广水市| 临清市| 江安县| 衢州市| 东乡族自治县| 涡阳县| 佳木斯市| 南郑县| 和龙市| 白山市| 手机| 崇州市| 遂昌县| 邯郸市| 海兴县| 琼海市|