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

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

主站蜘蛛池模板: 云南省| 方山县| 论坛| 河北区| 南康市| 外汇| 凌海市| 保康县| 大埔区| 安福县| 武陟县| 万宁市| 陇南市| 勃利县| 广东省| 清涧县| 阜平县| 明水县| 北辰区| 屯留县| 平谷区| 延川县| 贡觉县| 兴宁市| 嵊州市| 遂川县| 祁连县| 广饶县| 博湖县| 崇仁县| 陇南市| 太湖县| 客服| 启东市| 永川市| 马鞍山市| 大港区| 崇义县| 垫江县| 密山市| 淮南市|