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

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.
主站蜘蛛池模板: 中西区| 武乡县| 通山县| 中阳县| 辽宁省| 寻甸| 大关县| 绍兴市| 井冈山市| 图们市| 集贤县| 翁牛特旗| 东乡| 望城县| 通道| 遂溪县| 潞城市| 长武县| 衡山县| 沁水县| 泰宁县| 白河县| 嘉鱼县| 原平市| 濮阳县| 义乌市| 梅州市| 双桥区| 双牌县| 黔西县| 鲁甸县| 长丰县| 电白县| 桐乡市| 伊金霍洛旗| 临桂县| 武穴市| 邵阳市| 广汉市| 罗甸县| 虎林市|