- Java 9 Regular Expressions
- Anubhava Srivastava
- 65字
- 2021-07-02 18:58:36
Range inside a character class
We can also specify a character range inside a character class by using a hyphen ( - ) between two characters. You just have to make sure that the left-hand side character of a range is lower in the ASCII table than the right-hand side character. We can match all the digits using the regex patterns, [0123456789], or a shorter [0-9].
推薦閱讀
- Advanced Quantitative Finance with C++
- ClickHouse性能之巔:從架構設計解讀性能之謎
- Instant Testing with CasperJS
- 深入理解Bootstrap
- Monkey Game Development:Beginner's Guide
- Developing Mobile Web ArcGIS Applications
- Instant Zepto.js
- Java從入門到精通(第4版)
- Servlet/JSP深入詳解
- Python機器學習基礎教程
- Web性能實戰
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- OpenCV with Python Blueprints
- Android應用開發實戰(第2版)
- Node.js應用開發