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

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.
主站蜘蛛池模板: 池州市| 新巴尔虎左旗| 临夏市| 鄂托克前旗| 元氏县| 台北县| 兴山县| 黄冈市| 平罗县| 杂多县| 边坝县| 新邵县| 莱西市| 天津市| 嘉鱼县| 白水县| 黑河市| 崇仁县| 宜章县| 芒康县| 太白县| 四子王旗| 疏附县| 呼图壁县| 溧阳市| 兰溪市| 阳谷县| 响水县| 正镶白旗| 化隆| 子洲县| 曲阜市| 禹城市| 西盟| 永丰县| 轮台县| 古交市| 大石桥市| 西充县| 吉隆县| 海城市|