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

Boundary constructs

Boundary constructs allow us to specify where our matches should start or stop by restricting our matches to certain boundaries. We avoid matching unwanted text by adding restrictions to the start and stop positions of the matching text using boundary matchers. Here are all the boundary constructs available in Java regular expressions:

Let's recall from the first chapter that [a-zA-Z0-9_] are called word characters. All other characters are considered non-word characters.
主站蜘蛛池模板: 修武县| 临夏县| 大庆市| 理塘县| 宝鸡市| 高密市| 承德市| 武定县| 福清市| 尼木县| 鄂伦春自治旗| 平定县| 家居| 象州县| 鄂尔多斯市| 台江县| 密云县| 云和县| 贡嘎县| 临洮县| 都兰县| 张北县| 临沂市| 恩施市| 崇仁县| 涟水县| 德阳市| 科尔| 长海县| 五常市| 安图县| 安图县| 伊宁县| 马公市| 广汉市| 江陵县| 建阳市| 高雄市| 周至县| 崇左市| 顺平县|