- 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].
推薦閱讀
- Mastering Adobe Captivate 2017(Fourth Edition)
- ASP.NET Core 2 and Vue.js
- VMware vSphere 6.7虛擬化架構實戰指南
- Mastering LibGDX Game Development
- Java程序設計與實踐教程(第2版)
- 編譯系統透視:圖解編譯原理
- 用Python實現深度學習框架
- Python機器學習算法: 原理、實現與案例
- Mastering Business Intelligence with MicroStrategy
- C++編程兵書
- 你好!Java
- 和孩子一起學編程:用Scratch玩Minecraft我的世界
- Learning Alfresco Web Scripts
- Clojure編程樂趣
- 算法訓練營:海量圖解+競賽刷題(入門篇)