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

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
主站蜘蛛池模板: 凤庆县| 土默特右旗| 株洲县| 彰武县| 芜湖县| 平江县| 柳江县| 盐源县| 玉林市| 仪征市| 克山县| 五峰| 元江| 博乐市| 金昌市| 奉节县| 华容县| 施甸县| 龙门县| 沅陵县| 汤原县| 新源县| 贺州市| 寿阳县| 抚远县| 临高县| 修水县| 彩票| 轮台县| 新田县| 芮城县| 和田市| 望奎县| 类乌齐县| 东兰县| 右玉县| 平山县| 铜山县| 滨海县| 五指山市| 磴口县|