- 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
推薦閱讀
- UNIX編程藝術(shù)
- Node.js 10實(shí)戰(zhàn)
- Testing with JUnit
- LabVIEW2018中文版 虛擬儀器程序設(shè)計(jì)自學(xué)手冊(cè)
- Learning RabbitMQ
- 數(shù)據(jù)庫(kù)系統(tǒng)原理及MySQL應(yīng)用教程
- Bootstrap 4:Responsive Web Design
- Web Development with MongoDB and Node(Third Edition)
- Java系統(tǒng)化項(xiàng)目開(kāi)發(fā)教程
- Node.js:來(lái)一打 C++ 擴(kuò)展
- Kubernetes源碼剖析
- 從0到1:HTML5 Canvas動(dòng)畫(huà)開(kāi)發(fā)
- Angular Design Patterns
- Mastering JavaScript
- JSP應(yīng)用與開(kāi)發(fā)技術(shù)(第3版)