官术网_书友最值得收藏!

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].

主站蜘蛛池模板: 阳江市| 康平县| 外汇| 丰都县| 随州市| 海阳市| 江阴市| 若尔盖县| 新乡县| 建湖县| 宜川县| 苍溪县| 樟树市| 绥阳县| 佛坪县| 龙井市| 郁南县| 石嘴山市| 黎川县| 靖远县| 凌海市| 百色市| 莱西市| 巴中市| 雅江县| 云南省| 永年县| 冀州市| 津南区| 读书| 达拉特旗| 天台县| 巨野县| 永城市| 蓬莱市| 绥棱县| 大同县| 南阳市| 吉安市| 扬州市| 广南县|