- Java 9 Regular Expressions
- Anubhava Srivastava
- 140字
- 2021-07-02 18:58:34
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
推薦閱讀
- C程序設(shè)計簡明教程(第二版)
- Android和PHP開發(fā)最佳實踐(第2版)
- 單片機應用技術(shù)
- R的極客理想:工具篇
- 用Flutter極速構(gòu)建原生應用
- 程序設(shè)計基礎(chǔ)教程:C語言
- 圖數(shù)據(jù)庫實戰(zhàn)
- 零基礎(chǔ)學C語言(第4版)
- Web前端開發(fā)技術(shù):HTML、CSS、JavaScript
- C語言從入門到精通
- 軟硬件綜合系統(tǒng)軟件需求建模及可靠性綜合試驗、分析、評價技術(shù)
- Kohana 3.0 Beginner's Guide
- Mastering Clojure
- 算法訓練營:海量圖解+競賽刷題(入門篇)
- Java Script從入門到精通(第5版)