- 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].
推薦閱讀
- Apache ZooKeeper Essentials
- Web全棧工程師的自我修養(yǎng)
- Learning Data Mining with R
- Learning OpenStack Networking(Neutron)(Second Edition)
- RabbitMQ Essentials
- ScratchJr趣味編程動手玩:讓孩子用編程講故事
- Qlik Sense? Cookbook
- Illustrator CS6設(shè)計與應(yīng)用任務(wù)教程
- 零基礎(chǔ)學(xué)HTML+CSS第2版
- Mobile Test Automation with Appium
- Swift 2 Blueprints
- Learning Puppet
- jBPM6 Developer Guide
- Getting Started with Backbone Marionette
- 亮劍C#項目開發(fā)案例導(dǎo)航