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

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
主站蜘蛛池模板: 从江县| 乌拉特后旗| 宣汉县| 上饶市| 闽侯县| 本溪市| 呼和浩特市| 达州市| 莆田市| 瓮安县| 镇平县| 曲靖市| 宜城市| 安化县| 古交市| 阿坝县| 沿河| 河南省| 罗甸县| 新营市| 永康市| 云浮市| 汝州市| 乌恰县| 虹口区| 太康县| 隆安县| 洛宁县| 鄢陵县| 汝阳县| 上高县| 宁陕县| 包头市| 盘锦市| 长兴县| 庆元县| 理塘县| 常德市| 会泽县| 无为县| 措勤县|